ci(release): CI-native verified release flow - #40
Merged
Conversation
Rework the reusable workflow to cut the release itself instead of running the caller's local trigger_release.sh (which is Keychain/admin-local and produced an Unverified bump commit in CI). Now: push the signed tag with the PAT (admin-bypasses the tag ruleset, triggers release.yml); create the version-bump commit via the GitHub Contents API so GitHub signs it (Verified -> passes the required-signatures branch ruleset); open the bump PR; approve it as github-actions[bot] (distinct identity, counts as the required review); enable squash auto-merge. Needs the caller to grant pull-requests: write.
Fab-Cat
approved these changes
Jun 28, 2026
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.
Reworks the reusable
trigger_release.yamlto perform the release in CI (no local script, no GitHub App needed):RELEASE_TOKEN, a repo admin) -> admin-bypasses the tag ruleset and triggersrelease.yml.required_signaturesbranch ruleset that rejected the git-pushed commit before.github-actions[bot](a different identity than the PAT author -> counts as the 1 required review; no CODEOWNERS,require_last_push_approval: false).pre-commit+donepass.Callers grant
pull-requests: write(for the bot approval). Reuses existing secrets (RELEASE_TOKEN,RELEASE_GPG_*); no App, no new secrets.