Skip to content

Cascading Merge Fails with v2.0.0+ Due to “Bad Credentials” Error #70

@snps-annaku

Description

@snps-annaku

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions