Repository navigation
ci: let the cascade workflow enable auto-merge on its PR - #242
Merged
Merged
Conversation
"Open/refresh cascade PR" fails with "Resource not accessible by integration (enablePullRequestAutoMerge)": without a CASCADE_TOKEN the job runs with GITHUB_TOKEN, and enabling auto-merge needs contents: write next to pull-requests: write. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019bYFRwMWKndKaj6SemwDn2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
The "Cascade 4.x into master" workflow fails in "Open/refresh cascade PR" with:
The August 25 run failed the same way. Without a
CASCADE_TOKENsecret, the step runs withGITHUB_TOKENunderpermissions: contents: read. Enabling auto-merge also needscontents: write, so this PR grants it.After merging
4.xre-runs the workflow, which should then enable auto-merge on the cascade PR.GITHUB_TOKENat read-only ("Workflow permissions"). In that case theCASCADE_TOKENPAT, which the workflow already supports, is the remaining fix.masterPRchore: merge 4.x into master.🤖 Generated with Claude Code
https://claude.ai/code/session_019bYFRwMWKndKaj6SemwDn2
Generated by Claude Code