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:
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:
For info, the current permissions for this token are ['read:user', 'repo', 'user:email', 'workflow'].