+1 to protection on main, limited to PR-only merges.
I'd leave out the other branches (branch_9x, branch_10x, etc) from this
policy though since we often backport. Creating/reviewing/merging a PR for
each backport would be cumbersome. Also, I know David's backporting skill
takes care of the backports with the labels, so not sure how that'd play
with branch protection.

- Rahul

On Wed, Oct 14, 2026 at 2:26 PM Andrzej Białecki <[email protected]> wrote:

> Hi all,
>
> It’s easy to make some missteps and accidentally push stuff that you don’t
> intend to branches that you didn’t intent to push to ;)
>
> We already forbid force push on all branches (at least I hope so?). I
> propose to put also a protection lock on all branches (maybe except the
> active release branches to make the RM’s job somewhat easier). In practical
> terms this means that any changes to these branches MUST go through PR
> merges, and direct commits to branches are rejected.
>
> Cheers,
> Andrzej
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to