From 531d2b5dfb347684206435e0c3cd07f54e7c46b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Thu, 20 Aug 2026 10:44:08 +0200 Subject: [PATCH] Rename the default branch to `main` --- .github/workflows/deploy.yml | 2 +- .github/workflows/zizmor.yml | 4 ++-- README.md | 4 ++-- book.toml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4c5fbc65a..386ad973e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,7 +4,7 @@ on: - cron: '0 22 * * *' push: branches: - - master + - main # Limit concurrent workflow runs to prevent resource conflicts and ensure clean deployments concurrency: diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml index 9701e3917..f450c3d05 100644 --- a/.github/workflows/zizmor.yml +++ b/.github/workflows/zizmor.yml @@ -2,11 +2,11 @@ name: Security Audit with zizmor on: push: - branches: [master] + branches: [main] paths: - '.github/workflows/**' pull_request: - branches: [master] + branches: [main] paths: - '.github/workflows/**' diff --git a/README.md b/README.md index 7caa65339..c66c7992f 100644 --- a/README.md +++ b/README.md @@ -87,8 +87,8 @@ Teams are responsible for merging their own content. Please add your team to the `[assign.owners]` section of [`triagebot.toml`] so that the bot will auto-assign someone from the team. [team-repo]: https://github.com/rust-lang/team/blob/main/repos/rust-lang/rust-forge.toml -[`src/SUMMARY.md`]: https://github.com/rust-lang/rust-forge/blob/master/src/SUMMARY.md -[`triagebot.toml`]: https://github.com/rust-lang/rust-forge/blob/master/triagebot.toml +[`src/SUMMARY.md`]: https://github.com/rust-lang/rust-forge/blob/main/src/SUMMARY.md +[`triagebot.toml`]: https://github.com/rust-lang/rust-forge/blob/main/triagebot.toml ## Maintenance of Rust Forge diff --git a/book.toml b/book.toml index f53998ab6..04b41c4c5 100644 --- a/book.toml +++ b/book.toml @@ -24,7 +24,7 @@ additional-js = ["js/moment.min.js", "js/index.js"] additional-css = ["css/style.css"] no-section-label = true git-repository-url = "https://github.com/rust-lang/rust-forge" -edit-url-template = "https://github.com/rust-lang/rust-forge/edit/master/{path}" +edit-url-template = "https://github.com/rust-lang/rust-forge/edit/main/{path}" smart-punctuation = true [output.html.redirect]