Skip to content

Commit

Permalink
Add branch protection for the master-old branch in rustc-dev-guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol authored and Mark-Simulacrum committed Jan 5, 2025
1 parent f71674e commit a70b006
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions repos/rust-lang/rustc-dev-guide.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ libs-contributors = "write"
pattern = "master"
ci-checks = ["ci"]
required-approvals = 0

# This branch protection exists for historical reasons
# We had to force-push the whole commit history of rustc-dev-guide
# This branch contains the old commit graph, to keep commit references working
[[branch-protections]]
pattern = "master-old"

0 comments on commit a70b006

Please sign in to comment.