Skip to content

Commit f759538

Browse files
committed
rename default branch to main
1 parent d6a865c commit f759538

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/dry-run.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
with:
3434
# If the PR is from this repository, checkout the PR sha,
3535
# so that we can also test code changes.
36-
# If it is from a fork, then always checkout the 'master' branch,
36+
# If it is from a fork, then always checkout the 'main' branch,
3737
# to avoid checking out code of untrusted PRs.
38-
ref: ${{ github.event.workflow_run.head_repository.full_name != 'rust-lang/team' && 'master' || github.event.workflow_run.head_sha }}
38+
ref: ${{ github.event.workflow_run.head_repository.full_name != 'rust-lang/team' && 'main' || github.event.workflow_run.head_sha }}
3939
persist-credentials: false
4040

4141
- name: Install Rust Stable

docs/toml-schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ Admins cannot override these branch protections. If an admin needs to do that, t
365365
# The branch protections (optional)
366366
[[branch-protections]]
367367
# The pattern matching the branches to be protected (required)
368-
pattern = "master"
368+
pattern = "main"
369369
# Which CI checks to are required for merging (optional)
370370
# Cannot be set if `pr-required` is `false`.
371371
#

0 commit comments

Comments
 (0)