Disable additional affiliation constraint when used token is not from owner

This commit is contained in:
lowlighter
2021-04-14 18:37:50 +02:00
parent 7f8f3f6e06
commit 8cba3f449a
4 changed files with 23 additions and 4 deletions

View File

@@ -122,6 +122,7 @@
authenticated = github.context.repo.owner
}
const user = _user || authenticated
conf.authenticated = user
info("GitHub account", user)
if (q.repo)
info("GitHub repository", `${user}/${q.repo}`)