Enforce branch protection on main: require pull-request review and passing CI before any merge.
Why This Matters
An unprotected main branch lets unreviewed or failing code ship straight to production.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.