Skip to content

Commit ebc04e0

Browse files
committed
Remove branch protections from crates.io repository
The `team` repo currently only supports creating "classic" branch protections, not the more modern "rulesets". Unfortunately rulesets are required to allow GitHub Apps to bypass branch protections (e.g. to push to protected branches without PRs). For the crates.io repository, Marco manually created a ruleset based on the current classic branch protection. Once the `team` repo supports rulesets we will bring them back into the repo.
1 parent 731940c commit ebc04e0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

repos/rust-lang/crates.io.toml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,3 @@ bots = ["renovate", "rustbot", "heroku-deploy-access"]
66

77
[access.teams]
88
crates-io = "write"
9-
10-
[[branch-protections]]
11-
pattern = "main"
12-
ci-checks = [
13-
"Backend / Lint",
14-
"Backend / Test",
15-
"Frontend / Lint",
16-
"Frontend / Test",
17-
"Backend / dependencies",
18-
]
19-
required-approvals = 0

0 commit comments

Comments
 (0)