-
Notifications
You must be signed in to change notification settings - Fork 154
Closed
Labels
fast-trackFast tracked requestsFast tracked requests
Description
I've been trying to update the CQ to make it able to "purple-merge" PRs with the CQ. Before that, the CQ was using two tokens:
- @nodejs-github-bot's token to push the commits (@nodejs-github-bot is part of
@nodejs/collaborators
) GITHUB_TOKEN
provided by @github-actions to comment/close on PRs
GITHUB_TOKEN
is not allowed to merge PRs because it's not part of @nodejs/collaborators
, so @targos tried to use @nodejs-github-bot's token to run the CQ. Unfortunately this didn't work:
GraphQL error: Your token has not been granted the required scopes to execute this query. The 'login' field requires one of the following scopes: ['read:org'], but your token has only been granted the: ['read:user', 'repo', 'user:email', 'workflow'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.
https://github.com/nodejs/node/runs/4131235476?check_suite_focus=true
Originally posted by @aduh95 in nodejs/node#40742 (comment)
I'm asking for permission to update the permissions to make the Commit Queue work correctly:
read:org
notifications
For info, the current permissions for this token are ['read:user', 'repo', 'user:email', 'workflow']
.
Metadata
Metadata
Assignees
Labels
fast-trackFast tracked requestsFast tracked requests