How do you protect release tags from being moved or deleted?
IntermediateProductionBranch protection, rulesets, CODEOWNERS and review at scale
Answer
A tag ruleset that targets v* blocks deletion and non-fast-forward updates (and restricts who can create them). Release assets are immutable if you enable immutable releases, and we also consume artifacts by digest so a moved tag cannot change what is deployed.
More on Branch protection, rulesets, CODEOWNERS and review at scale
What branch protection settings do you enable on `main` by default?BeginnerWhy do rulesets win over classic branch protection for an organisation?IntermediateHow do you roll out a new org-wide ruleset without breaking 300 repos?AdvancedHow do you structure CODEOWNERS for a large org?IntermediateCODEOWNERS says three teams own a path but PRs stall waiting for any one of them. How do you fix it?AdvancedWhy require status checks by job name and what is a common pitfall?Beginner