Skip to content

docs(release): document first-release floating-tag ruleset bypass - #1156

Merged
c-vigo merged 1 commit into
devfrom
docs/1152-first-release-floating-tag-bypass
Jul 16, 2026
Merged

c-vigo merged 1 commit into
devfrom
docs/1152-first-release-floating-tag-bypass

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Companion to #1151. The imported Tag ruleset bypasses only the Release App
(Integration)
— correct for steady state, where promote-release.yml moves
<prefix>X / <prefix>X.Y with the app token. But on a first release the
promote 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>X stale and <prefix>X.Y missing,
silently breaking the advertised uses: owner/repo@<prefix>X pin.

Fix (issue preference #1 — docs)

Adds a "First-release floating tags" subsection under the first-release
runbook in docs/MIGRATION.md:

  1. Temporarily grant repository admins a bypass (RepositoryRole id 5) on the
    Tag ruleset (UI + gh api).
  2. Move <prefix>X / <prefix>X.Y to the peeled release commit — the same
    move_tag semantics as promote-release.yml.
  3. Revert the ruleset so moves are Release-App-exclusive again.

Notes the consumer-owned dispatch-workflow alternative. Wires step 4 of the
#1151 runbook to this subsection.

Docs-only; no code change.

Closes #1152

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
@c-vigo
c-vigo merged commit 3316000 into dev Jul 16, 2026
13 checks passed
@c-vigo
c-vigo deleted the docs/1152-first-release-floating-tag-bypass branch July 16, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant