Repository navigation
ci(release): stamp the version through a PR on protected release branches - #239
Merged
Merged
Conversation
…ches - release/stable/* now requires a PR, so the workflow's direct push of the version commit is rejected. - A push whose manifests lack the next version opens (or refreshes) a chore/release-<version>-stamp PR. - Merging it starts the run that waits for plugin-release approval, then tags, publishes and opens the main PR. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 of 2 tasks
kazo0
added a commit
that referenced
this pull request
Nov 15, 2026
- The version PR from #239 cannot pass the required checks: they need source.ref to name a published release, which a stamp PR never does. - The release job now commits the stamp locally and pushes it as the release tag only; release branches are protected and stay unstamped. - This puts the release job back as it was before #239, apart from those two lines. Co-authored-by: Claude Opus 5.5 <[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.
GitHub Issue (If applicable): none
PR Type
What is the current behavior?
release/stable/<x.y>.What is the new behavior?
A release now takes two pushes to the release branch:
chore(release): <version>PR fromchore/release-<version>-stamp, without approval. A later push before it merges refreshes the same branch and PR.plugin-release, then tags, publishes and opens the marketplace PR onmain, as before.Reviewer's guide
.github/workflows/release.yml. The oldreleasejob is split intoversion(computes the version, checks whether the manifests already carry it),stamp(opens the PR) andrelease(publish, unchanged steps).GITHUB_TOKENstarts no workflows, so the stamp PR's required checks won't run until someone closes and reopens it. Its body says so. A GitHub App token would avoid this but needs a new secret.PR Checklist
Additional Information
release/stable/7.0is itself a push, so it opens the 7.0.1 stamp PR.main, so release branches cut later carry it.🤖 Generated with Claude Code