Skip to content

Turn on tag protection: immutable sol-v* and next-v* via org rulesets #337

Description

@thedavidmeister

Turn on tag protection (org rulesets for sol-v* and next-v*)

Release identity now lives in git tags, and nothing today stops a tag from being moved or deleted after the fact. Enable org-level repository rulesets targeting tags so a release/intent tag is create-once-immutable.

Tag patterns and why they need protecting

Requested ruleset (tag target, org-wide, ~ALL repositories)

  • Restrict updates — an existing sol-v* / next-v* tag can never be force-moved.
  • Restrict deletions — cannot be deleted.
  • (Immutability = updates + deletions restricted; creation stays open so the release workflows can still mint sol-v*.)
  • Bypass: org admins only (for genuine mistakes), everything else denied.

Creation-authorization note (decide separately, do not block the immutability ruleset)

Creation restriction is trickier and is NOT part of the core ask:

  • Library sol-v* are created by the CI app — restricting creation would need that app in the bypass list.
  • Deploy-repo sol-v* authorize a release (they trigger rainix-tag-release), so who may create them is a deploy-authorization decision worth a restricted creator set — but that needs the CI identity handled and is repo-class-specific. Track as a follow-up; the immutability rules above are the immediate win.

Why filed, not applied

Rulesets are org settings needing admin:org; the session token lacks that scope. This issue is the action item for someone with org-admin.

Context

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions