ci(changelog): open release-notes PR with App token (not GITHUB_TOKEN) - #774
Merged
Conversation
…UB_TOKEN The org forbids GitHub Actions from creating PRs with GITHUB_TOKEN; App installation tokens are exempt (release bot App already installed on this repo). Mint a scoped token and use it for both the branch push and gh pr create — consistent with how future-agi opens its release PRs, and avoids relaxing the org-wide setting. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
hadarishav
approved these changes
Jul 28, 2026
atharva-bhange
added a commit
that referenced
this pull request
Jul 28, 2026
…n-dev ci(changelog): open release-notes PR with App token (twin of #774)
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.
Follow-up to #772. The org policy blocks GitHub Actions from creating PRs with
GITHUB_TOKEN, which would break the changelog-sync workflow'sgh pr createat the first release. GitHub App installation tokens are exempt from that policy, the release bot App is already installed on this repo, and this matches how future-agi opens its release/bump PRs.Change: mint a repo-scoped App token (
actions/create-github-app-token), use it for both the branch push (via checkouttoken:) andgh pr create. No org setting change needed. actionlint clean.🤖 Generated with Claude Code