Przeglądaj źródła

Mention branch protection ordering (#11217)

Trask Stalnaker 10 miesięcy temu
rodzic
commit
ba9ab38acf
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      .github/repository-settings.md

+ 5 - 0
.github/repository-settings.md

@@ -20,6 +20,11 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
 
 ## Branch protections
 
+The order of branch protection rules
+[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).
+The branch protection rules below should be added before the `**/**` branch protection rule
+(this may require deleting the `**/**` rule and recreating it at the end).
+
 ### `main`
 
 - Require branches to be up to date before merging: UNCHECKED