From ebc04e080d574292f3eee873f81446ec51c659cd Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Wed, 29 Oct 2025 17:59:37 +0100 Subject: [PATCH] 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. --- repos/rust-lang/crates.io.toml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/repos/rust-lang/crates.io.toml b/repos/rust-lang/crates.io.toml index f814d1921..e16cc8594 100644 --- a/repos/rust-lang/crates.io.toml +++ b/repos/rust-lang/crates.io.toml @@ -6,14 +6,3 @@ bots = ["renovate", "rustbot", "heroku-deploy-access"] [access.teams] crates-io = "write" - -[[branch-protections]] -pattern = "main" -ci-checks = [ - "Backend / Lint", - "Backend / Test", - "Frontend / Lint", - "Frontend / Test", - "Backend / dependencies", -] -required-approvals = 0