Parent: #310
Goal
Protect the stable v1 line and ensure the v2 line is protected from the moment its branch is created.
Scope
- Assign a repository or organization admin owner for this task.
- Configure the
main ruleset.
- Configure a ruleset targeting the future
v2 branch name before the Git ref is created.
- Require changes to go through pull requests.
- Require the agreed CI, test, E2E, and package-contract checks.
- Require at least one approval and resolved review conversations.
- Prevent branch deletion and force pushes.
- Allow merge commits for manual
main to v2 synchronization.
- Do not require linear history on
v2 if that would reject synchronization merge commits.
- Preserve release automation through only the minimum required bypass.
- Verify the effective
v2 rules immediately after branch creation.
The future release/v1 ruleset is also prepared before the cutover creates that branch.
Acceptance criteria
Parent: #310
Goal
Protect the stable v1 line and ensure the v2 line is protected from the moment its branch is created.
Scope
mainruleset.v2branch name before the Git ref is created.maintov2synchronization.v2if that would reject synchronization merge commits.v2rules immediately after branch creation.The future
release/v1ruleset is also prepared before the cutover creates that branch.Acceptance criteria
mainis covered by an active ruleset.v2exists before branch creation.v2is permitted.v2is created.release/v1protection procedure and owner are documented.