Repository navigation
fix(ci): mint release-workflow writes with the mellea-auto-release App token - #1376
Merged
ajbozarth merged 1 commit intoJul 9, 2026
Conversation
…p token The release workflows pushed to protected main and release/** and opened the changelog-sync PR with the default GITHUB_TOKEN, which github-actions[bot] cannot be granted branch-protection bypass for and which the org blocks from creating PRs. Mint a token from the mellea-auto-release App in the write jobs of cut-release-branch, publish-release, and publish-dev-from-main; read-only jobs stay on GITHUB_TOKEN. Update RELEASE.md to match. Assisted-by: Claude Code Signed-off-by: Alex Bozarth <[email protected]>
psschwei
approved these changes
Jul 9, 2026
ajbozarth
enabled auto-merge
July 9, 2026 21:57
ajbozarth
added a commit
to ajbozarth/mellea
that referenced
this pull request
Nov 10, 2026
The snapshot-docs job built each release's versioned docs from main, so they included unreleased changes. Build them from the release tag and land them on main through a sync PR instead. Also remove release triggers and dispatches made redundant by the app token switch in generative-computing#1376, and resolve the zizmor findings in generative-computing#1534. Assisted-by: Claude Code Signed-off-by: Alex Bozarth <[email protected]>
1 of 8 tasks
ajbozarth
added a commit
to ajbozarth/mellea
that referenced
this pull request
Nov 10, 2026
…#1802) * fix(ci): snapshot release docs from release tag The snapshot-docs job built each release's versioned docs from main, so they included unreleased changes. Build them from the release tag and land them on main through a sync PR instead. Also remove release triggers and dispatches made redundant by the app token switch in generative-computing#1376, and resolve the zizmor findings in generative-computing#1534. Assisted-by: Claude Code Signed-off-by: Alex Bozarth <[email protected]> * docs: explain how docs fixes reach release snapshots Snapshots are now built from the release tag, so a fix to a published snapshot must be made on main to deploy and also landed on the release branch to carry into the next patch's snapshot. Assisted-by: Claude Code Signed-off-by: Alex Bozarth <[email protected]> * fix(ci): address review feedback on release scripts Assisted-by: Claude Code Signed-off-by: Alex Bozarth <[email protected]> --------- Signed-off-by: Alex Bozarth <[email protected]>
ajbozarth
added a commit
that referenced
this pull request
Nov 11, 2026
* fix(ci): snapshot release docs from release tag The snapshot-docs job built each release's versioned docs from main, so they included unreleased changes. Build them from the release tag and land them on main through a sync PR instead. Also remove release triggers and dispatches made redundant by the app token switch in #1376, and resolve the zizmor findings in #1534. Assisted-by: Claude Code * docs: explain how docs fixes reach release snapshots Snapshots are now built from the release tag, so a fix to a published snapshot must be made on main to deploy and also landed on the release branch to carry into the next patch's snapshot. Assisted-by: Claude Code * fix(ci): address review feedback on release scripts Assisted-by: Claude Code --------- Signed-off-by: Alex Bozarth <[email protected]>
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.
Issue
Fixes #
Description
The release-branch workflows authored their writes with the default
GITHUB_TOKEN. That fails in two ways this org enforces:cut-release-branchandpublish-dev-from-mainpush tomain, andpublish-releasepushes torelease/**.github-actions[bot]cannot be added as a branch-protectionbypass actor, so these pushes are rejected.
PRs under
GITHUB_TOKEN.The write jobs now mint a token from the mellea-auto-release GitHub App
(
vars.CI_APP_ID/secrets.CI_PRIVATE_KEY), which is a bypass actor on theprotected rulesets — the same app
mellea-contribsalready uses. Read-onlyjobs (
guard,code-checks,pre-release-check) stay onGITHUB_TOKEN.RELEASE.mdis updated to match.Requires (repo settings, no code): the mellea-auto-release app installed with
main+release/**bypass, andCI_APP_ID/CI_PRIVATE_KEYavailable.Testing
Attribution
Adding a new component, requirement, sampling strategy, or tool?