[session 1] docs(platform.ci-cd): branch lifecycle — auto-delete vs protected develop #42
Reference in New Issue
Block a user
Delete Branch "docs/ci-cd-branch-protection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #41
Session: 1
Documents the auto-delete-on-merge trap and the 2026-07-19 develop-protection fix.
Key points: auto-delete stays ON fleet-wide (correct for feature branches); the protection rule is deliberately permissive (
enable_push: true, 0 approvals, no status checks) so it restricts nothing except deletion; hiveops-deploy excluded as archived (423); the guard is by-name, so other long-lived integration branches used as PR heads are still exposed.Includes a before/after table and the curl to apply it elsewhere.