mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-26 13:01:27 +03:00
Change default branch to main
This commit is contained in:
@@ -6,7 +6,7 @@ name: Post merge analysis
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
analysis:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# We want to make sure all PRs are targeting the right branch when they're
|
||||
# opened, otherwise we risk (for example) to land a beta-specific change to the
|
||||
# master branch. This script ensures the branch of the PR matches the channel.
|
||||
# default branch. This script ensures the branch of the PR matches the channel.
|
||||
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
@@ -16,7 +16,7 @@ fi
|
||||
channel=$(cat "$(ciCheckoutPath)/src/ci/channel")
|
||||
case "${channel}" in
|
||||
nightly)
|
||||
channel_branch="master"
|
||||
channel_branch="main"
|
||||
;;
|
||||
beta)
|
||||
channel_branch="beta"
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ dist_server=https://static.rust-lang.org
|
||||
artifacts_server=https://ci-artifacts.rust-lang.org/rustc-builds
|
||||
artifacts_with_llvm_assertions_server=https://ci-artifacts.rust-lang.org/rustc-builds-alt
|
||||
git_merge_commit_email=bors@rust-lang.org
|
||||
nightly_branch=master
|
||||
nightly_branch=main
|
||||
|
||||
# The configuration above this comment is editable, and can be changed
|
||||
# by forks of the repository if they have alternate values.
|
||||
|
||||
+1
-1
@@ -1663,7 +1663,7 @@ labels = ["has-merge-commits", "S-waiting-on-author"]
|
||||
format = "rustc"
|
||||
project-name = "Rust"
|
||||
changelog-path = "RELEASES.md"
|
||||
changelog-branch = "master"
|
||||
changelog-branch = "main"
|
||||
|
||||
[shortcut]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user