Skip to content

Commit ba9ab38

Browse files
authored
Mention branch protection ordering (#11217)
1 parent 8cf2217 commit ba9ab38

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/repository-settings.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
2020

2121
## Branch protections
2222

23+
The order of branch protection rules
24+
[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).
25+
The branch protection rules below should be added before the `**/**` branch protection rule
26+
(this may require deleting the `**/**` rule and recreating it at the end).
27+
2328
### `main`
2429

2530
- Require branches to be up to date before merging: UNCHECKED

0 commit comments

Comments
 (0)