Skip to content

Commit 28bdb9a

Browse files
authored
Merge pull request #74 from stepchowfun/maintainers
Update the MAINTAINERS instructions
2 parents a86c704 + 2ceff16 commit 28bdb9a

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

MAINTAINERS.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,22 @@ and users need not be concerned with this material.
77

88
When setting up the repository on GitHub, configure the following settings:
99

10-
- Under `Secrets`:
11-
- Under `Actions`, add the `DOCKER_PASSWORD` repository secret with an
10+
- Under `General``Pull Requests`, enable
11+
`Automatically delete head branches`.
12+
- Under `Secrets and variables`:
13+
- Under `Actions`, add a `DOCKER_PASSWORD` repository secret with an
1214
appropriate value.
13-
- Under `Dependabot`, add the `DOCKER_PASSWORD` repository secret with an
14-
appropriate value (e.g., that of the corresponding secret above).
15-
- Under `Branches`, add a branch protection rule for the `main` branch.
16-
- Enable `Require status checks to pass before merging`.
17-
- Enable `Require branches to be up to date before merging`.
18-
- Add the `Validate` status check.
19-
- Enable `Include administrators`.
20-
- Under `Options`, enable `Automatically delete head branches`.
15+
- Under `Dependabot`, add the `DOCKER_PASSWORD` repository secret from above.
16+
- Under `Branches`, click `Add a branch ruleset` and configure it as follows:
17+
- For the ruleset name, you can use the name of the branch: `main`.
18+
- Set `Enforcement status` to `Active`
19+
- Under `Targets``Target branches`, click `Add target` and select
20+
`Include default branch` from the dropdown menu.
21+
- Under `Rules``Branch rules`, check `Require status checks to pass` and
22+
configure it as follows before clicking the `Create` button:
23+
- Enable `Require branches to be up to date before merging`
24+
- Click the `Add checks` button and add the `Validate` status check (you may
25+
need to use the search box to find it).
2126
- Under `Pages`, change the `Source` to `GitHub Actions` and check
2227
`Enforce HTTPS`.
2328

0 commit comments

Comments
 (0)