From 0718945d3bd999091c15d4b9c1697eb702380185 Mon Sep 17 00:00:00 2001 From: teor Date: Tue, 31 Oct 2023 11:12:01 +1000 Subject: [PATCH] Fix list formatting --- book/src/dev/continuous-integration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/book/src/dev/continuous-integration.md b/book/src/dev/continuous-integration.md index 730b942a688..1f1768573d2 100644 --- a/book/src/dev/continuous-integration.md +++ b/book/src/dev/continuous-integration.md @@ -68,26 +68,31 @@ can add or delete branch protection rules in the Zebra repository. To change branch protection rules: Any developer: + 0. Run a PR containing the new rule, so its name is available to autocomplete. 1. If the job doesn't run on all PRs, add a patch job with the name of the job. If the job calls a reusable workflow, the name is `Caller job / Reusable step`. (The name of the job inside the reusable workflow is ignored.) Admin: + 2. Go to the [branch protection rule settings](https://github.com/orgs/ZcashFoundation/people?query=role%3Aowner) 3. Click on `Edit` for the `main` branch 4. Scroll down to the `Require status checks to pass before merging` section (This section must always be enabled. If it is disabled, all the rules get deleted.) To add jobs: + 5. Start typing the name of the job or step in the search box 6. Select the name of the job or step to add it To remove jobs: + 7. Go to `Status checks that are required.` 8. Find the job name, and click the cross on the right to remove it And finally: + 9. Click `Save changes`, using your security key if needed If you accidentally delete a lot of rules, and you can't remember what they were, ask a