From a855e1296eec307f8f52e90089c2edf92f4825b3 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Thu, 9 May 2024 11:23:44 -0700 Subject: [PATCH] Mention branch protection ordering (#6406) Co-authored-by: Jack Berg --- .github/repository-settings.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/repository-settings.md b/.github/repository-settings.md index 7e777d110b6..874eebfab7a 100644 --- a/.github/repository-settings.md +++ b/.github/repository-settings.md @@ -17,6 +17,11 @@ Repository settings in addition to what's documented already at ## 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