Skip to content

Commit 50ac498

Browse files
CI/DOC: replace master -> main branch (#45336)
1 parent ad19057 commit 50ac498

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+99
-99
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
[latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
1818
required: true
1919
- label: >
20-
I have confirmed this bug exists on the master branch of pandas.
20+
I have confirmed this bug exists on the main branch of pandas.
2121
- type: textarea
2222
id: example
2323
attributes:

.github/ISSUE_TEMPLATE/documentation_improvement.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ body:
1010
options:
1111
- label: >
1212
I have checked that the issue still exists on the latest versions of the docs
13-
on `master` [here](https://pandas.pydata.org/docs/dev/)
13+
on `main` [here](https://pandas.pydata.org/docs/dev/)
1414
required: true
1515
- type: textarea
1616
id: location

.github/ISSUE_TEMPLATE/performance_issue.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
[latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.
1818
required: true
1919
- label: >
20-
I have confirmed this issue exists on the master branch of pandas.
20+
I have confirmed this issue exists on the main branch of pandas.
2121
- type: textarea
2222
id: example
2323
attributes:

.github/workflows/asv-bot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ jobs:
5959
git remote add upstream https://github.com/pandas-dev/pandas.git
6060
git fetch upstream
6161
asv machine --yes
62-
asv continuous -f 1.1 -b $REGEX upstream/master HEAD
62+
asv continuous -f 1.1 -b $REGEX upstream/main HEAD
6363
echo 'BENCH_OUTPUT<<EOF' >> $GITHUB_ENV
64-
asv compare -f 1.1 upstream/master HEAD >> $GITHUB_ENV
64+
asv compare -f 1.1 upstream/main HEAD >> $GITHUB_ENV
6565
echo 'EOF' >> $GITHUB_ENV
6666
echo "REGEX=$REGEX" >> $GITHUB_ENV
6767

.github/workflows/code-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Code Checks
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- 1.4.x
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
- 1.4.x
1212

1313
env:

.github/workflows/comment_bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install-pre-commit
3030
run: python -m pip install --upgrade pre-commit
3131
- name: Run pre-commit
32-
run: pre-commit run --from-ref=origin/master --to-ref=HEAD --all-files || (exit 0)
32+
run: pre-commit run --from-ref=origin/main --to-ref=HEAD --all-files || (exit 0)
3333
- name: Commit results
3434
run: |
3535
git config user.name "$(git log -1 --pretty=format:%an)"

.github/workflows/datamanger.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Data Manager
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- 1.4.x
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
- 1.4.x
1212

1313
env:

.github/workflows/docbuild-and-upload.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Doc Build and Upload
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- 1.4.x
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
- 1.4.x
1212

1313
env:
@@ -53,18 +53,18 @@ jobs:
5353
echo "${{ secrets.server_ssh_key }}" > ~/.ssh/id_rsa
5454
chmod 600 ~/.ssh/id_rsa
5555
echo "${{ secrets.server_ip }} ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBE1Kkopomm7FHG5enATf7SgnpICZ4W2bw+Ho+afqin+w7sMcrsa0je7sbztFAV8YchDkiBKnWTG4cRT+KZgZCaY=" > ~/.ssh/known_hosts
56-
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}
56+
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/main'}}
5757

5858
- name: Copy cheatsheets into site directory
5959
run: cp doc/cheatsheet/Pandas_Cheat_Sheet* web/build/
6060

6161
- name: Upload web
6262
run: rsync -az --delete --exclude='pandas-docs' --exclude='docs' web/build/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas
63-
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}
63+
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/main'}}
6464

6565
- name: Upload dev docs
6666
run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/dev
67-
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/master'}}
67+
if: ${{github.event_name == 'push' && github.ref == 'refs/heads/main'}}
6868

6969
- name: Move docs into site directory
7070
run: mv doc/build/html web/build/docs

.github/workflows/posix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Posix
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- 1.4.x
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
- 1.4.x
1212
paths-ignore:
1313
- "doc/**"

.github/workflows/python-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Python Dev
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- 1.4.x
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
- 1.4.x
1212
paths-ignore:
1313
- "doc/**"

0 commit comments

Comments
 (0)