Repository navigation
ci(release-tag): create the tag with the melodic-plugin-release App token - #990
Conversation
…oken A github-iac tag ruleset will let only the melodic-plugin-release App create, move or delete v* tags in ci-workflows (claude-code-plugins#11042), and GITHUB_TOKEN tag creation gets 422 under a tag ruleset. The tag job now runs in the main-only plugin-release environment and mints a contents:write App token for the release step; the workflow token drops to contents:read. Refs: melodic-software/claude-code-plugins#11042 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security findings in this pull request. I read
What the change does. The job now creates the tag and Release with a What I checked
Not verifiable from the diff. The comment says the |
|
claude-review reviewed Code review: PR #990 (release-tag moves to the App token)I reviewed the one changed file, Advisory finding, What I checked, with no other findings:
|
Refs: melodic-software/claude-code-plugins#11042
Summary
A github-iac tag ruleset will let only the
melodic-plugin-releaseApp (App ID 5190206) create, move or deletev*tags in this repository (owner decision: melodic-software/claude-code-plugins#11042 (comment)).GITHUB_TOKENtag creation gets 422 under a tag ruleset, and the Actions app cannot be a bypass actor, so the release step moves to the App's token.Fix
plugin-releaseenvironment (main only, created by github-iac) and mints acontents: writetoken withactions/create-github-app-token, scoped to this repository.contents: read.Verification
create-github-app-tokenSHA and inputs as claude-code-plugins'release-publish-plugins.yml.workflowspermission a tag at a commit whose workflow files differ from the default branch's (ci(release): skip a release whose commit can no longer be tagged projectbluefin/server#332).GITHUB_TOKENhas the same limit today, so the App adds no new failure: the tag targets the run's own main commit.Related
Held with
do-not-mergeuntil the App is installed on this repository andPLUGIN_RELEASE_APP_PRIVATE_KEYis set in itsplugin-releaseenvironment; merging first would break the next release at the token mint. The github-iac ruleset merges and deploys after this.🤖 Generated with Claude Code