Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit e3799a6

Browse files
authored
Rename default branch to main (#1378)
1 parent df67761 commit e3799a6

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.circleci/build_docs/commit_docs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -ex
66
if [ "$2" == "" ]; then
77
echo call as "$0" "<src>" "<target branch>"
88
echo where src is the root of the built documentation git checkout and
9-
echo branch should be "master" or "1.7" or so
9+
echo branch should be "main" or "1.7" or so
1010
exit 1
1111
fi
1212

@@ -20,7 +20,7 @@ git checkout gh-pages
2020
mkdir -p ./"${target}"
2121
rm -rf ./"${target}"/*
2222
cp -r "${src}/docs/build/html/"* ./"$target"
23-
if [ "${target}" == "master" ]; then
23+
if [ "${target}" == "main" ]; then
2424
mkdir -p ./_static
2525
rm -rf ./_static/*
2626
cp -r "${src}/docs/build/html/_static/"* ./_static

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ jobs:
587587
# https://circleci.com/docs/2.0/configuration-reference/#checkout
588588
set -ex
589589
tag=${CIRCLE_TAG:1:5}
590-
target=${tag:-master}
590+
target=${tag:-main}
591591
~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target
592592
593593
docstring_parameters_sync:
@@ -1371,7 +1371,7 @@ workflows:
13711371
filters:
13721372
branches:
13731373
only:
1374-
- master
1374+
- main
13751375
jobs:
13761376
- smoke_test_docker_image_build:
13771377
context: org-member

.circleci/config.yml.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ jobs:
587587
# https://circleci.com/docs/2.0/configuration-reference/#checkout
588588
set -ex
589589
tag=${CIRCLE_TAG:1:5}
590-
target=${tag:-master}
590+
target=${tag:-main}
591591
~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target
592592

593593
docstring_parameters_sync:
@@ -630,7 +630,7 @@ workflows:
630630
filters:
631631
branches:
632632
only:
633-
- master
633+
- main
634634
jobs:
635635
- smoke_test_docker_image_build:
636636
context: org-member

.circleci/unittest/linux/scripts/run_style_checks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fi
2222
printf "\x1b[34mRunning clang-format: "
2323
./clang-format --version
2424
printf "\x1b[0m\n"
25-
git-clang-format --binary ./clang-format origin/master
25+
git-clang-format --binary ./clang-format origin/main
2626
git diff --exit-code
2727
status=$?
2828
exit_status="$((exit_status+status))"

.github/workflows/bandit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Bandit
44

55
on:
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
workflow_dispatch:
1010

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: CodeQL
44

55
on:
66
pull_request:
7-
branches: [ master ]
7+
branches: [ main ]
88

99
workflow_dispatch:
1010

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ possible.
55
## Pull Requests
66
We actively welcome your pull requests.
77

8-
1. Fork the repo and create your branch from `master`.
8+
1. Fork the repo and create your branch from `main`.
99
2. If you've added code that should be tested, add tests.
1010
3. If you've changed APIs, update the documentation.
1111
4. Ensure the test suite passes.
@@ -28,4 +28,4 @@ outlined on that page and do not file a public issue.
2828

2929
## License
3030
By contributing to text, you agree that your contributions will be licensed
31-
under the LICENSE file in the root directory of this source tree.
31+
under the LICENSE file in the root directory of this source tree.

0 commit comments

Comments
 (0)