-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello team,
I encountered an issue when attempting to upgrade from ActionsDesk/cascading-downstream-merge@v1.2.0 to v2.0.0 (and higher). While v1.2.0 works perfectly in my current setup, using v2.0.0 consistently fails with a 401 Bad Credentials error.
Run ActionsDesk/cascading-downstream-merge@v2.0.0 GET /repos/[org]/[repo]/branches - 401 file:///home/runner/_work/_actions/ActionsDesk/cascading-downstream-merge/v2.0.0/dist/index.js:31973 throw new RequestError(toErrorMessage(octokitResponse.data), status, { ^ RequestError [HttpError]: Bad credentials - https://docs.github.com/rest at fetchWrapper (index.js:31973:11) at async cascadingBranchMerge (index.js:34707:22) status: 401, authorization: 'token [REDACTED]'
What I’ve tried:
• Removed all branch protection rules to ensure they’re not interfering.
• Re-tested the workflow with the exact same configuration and token used in v1.2.0 (which works without issues).
• Still receiving the same error in v2.0.0.
Questions:
• Is there a change in how token permissions are handled in v2.0.0?
• Are there any additional scopes or configuration changes required starting from this version?
Any insights would be greatly appreciated!
Thanks,
Anna