Nothing so far stops anyone with write access from pushing straight to main, force-pushing over it, or deleting it. This section adds guard rails, from classic branch protection to rulesets, code owners and merge queues.
MENU
Protection and Merge Queues
Branch Protection, Rulesets, CODEOWNERS and Merge Queues