Repository navigation
queue filing: open the PR with a QUEUE_PR_TOKEN secret when the repo setting is out of reach - #96
Merged
Conversation
…setting is out of reach GITHUB_TOKEN may open a PR only under a repo setting the organisation can enforce and hide. A fine-grained PAT in a repo secret needs no setting, and a PR it opens also runs validate.yml, which a token-created PR never does. Falls back to the job token when the secret is absent. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rhn9qWAjP54dP27dyEibG2
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.
Why
GITHUB_TOKENmay open a PR only under "Allow GitHub Actions to create and approve pull requests", a setting the organisation can enforce and hide from the repo page (it is not visible on this repo's Settings → Actions → General). Every 📥/📑 filing has therefore stopped at a branch with a compare link.What
QUEUE_PR_TOKENrepo secret when one exists (a fine-grained PAT scoped to this repo with pull-requests read/write) and falls back to the job token otherwise. A PR opened with the PAT also runsvalidate.yml, which a token-created PR never does.Checks
python -m pytest tests/ -q: 178 passed.🤖 Generated with Claude Code
https://claude.ai/code/session_01Rhn9qWAjP54dP27dyEibG2
Generated by Claude Code