Skip to content

Commit a855e12

Browse files
traskjack-berg
andauthored
Mention branch protection ordering (#6406)
Co-authored-by: Jack Berg <jberg@newrelic.com>
1 parent c7d472a commit a855e12

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/repository-settings.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ Repository settings in addition to what's documented already at
1717

1818
## Branch protections
1919

20+
The order of branch protection rules
21+
[can be important](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule#about-branch-protection-rules).
22+
The branch protection rules below should be added before the `**/**` branch protection rule
23+
(this may require deleting the `**/**` rule and recreating it at the end).
24+
2025
### `main`
2126

2227
* Require branches to be up to date before merging: UNCHECKED

0 commit comments

Comments
 (0)