Starting to setup branch protection rules for our Main branches and currently have the following options enabled:
Require a pull request before merging
- Require approvals = 1
Require conversation resolution before merging
However I noticed in a PR there was an option to "Merge without waiting for requirements to be met (bypass branch protection)":
Is there a way to disable this option for all users? I did see an option for "Allow specified actors to bypass required pull requests", but is not really the same thing.
Thanks in advance!
CodePudding user response:
In the branch protection rules, there's a setting "Include administrators". Make sure to enable that as well.
More information can be found in the docs.