Repository navigation
docs(release): document first-release floating-tag ruleset bypass - #1156
Merged
Merged
Conversation
The imported Tag ruleset bypasses only the Release App, so on a first release neither the (unregistered) promote workflow nor a human admin can move vX / vX.Y (422 Cannot update this protected ref) and the pin breaks. Add a First-release floating tags subsection to MIGRATION.md: temporarily grant a RepositoryRole admin bypass, move the tags to the peeled release commit, then revert the ruleset. Docs-only: no test. Refs: #1152
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.
Summary
Companion to #1151. The imported Tag ruleset bypasses only the Release App
(Integration) — correct for steady state, where
promote-release.ymlmoves<prefix>X/<prefix>X.Ywith the app token. But on a first release thepromote workflow is not dispatchable (#1151) and no human — not even an
admin — can move the floating tags (
422 Cannot update this protected ref).The release then publishes with
<prefix>Xstale and<prefix>X.Ymissing,silently breaking the advertised
uses: owner/repo@<prefix>Xpin.Fix (issue preference #1 — docs)
Adds a "First-release floating tags" subsection under the first-release
runbook in
docs/MIGRATION.md:RepositoryRoleid5) on theTag ruleset (UI +
gh api).<prefix>X/<prefix>X.Yto the peeled release commit — the samemove_tagsemantics aspromote-release.yml.Notes the consumer-owned dispatch-workflow alternative. Wires step 4 of the
#1151 runbook to this subsection.
Docs-only; no code change.
Closes #1152