Skip to content

Commit 4f8f9fb

Browse files
committed
fix: update GitHub Actions workflow to use 'main' branch instead of 'master'
1 parent 7658082 commit 4f8f9fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
2020
with:
21-
ref: master
21+
ref: main
2222
fetch-depth: 0
2323

2424
- name: Set up Python
@@ -52,7 +52,7 @@ jobs:
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
5454
run: |
55-
git push origin HEAD:master
55+
git push origin HEAD:main
5656
5757
check-install:
5858
needs: [ update-version ]
@@ -66,7 +66,7 @@ jobs:
6666
- name: Checkout code
6767
uses: actions/checkout@v4
6868
with:
69-
ref: master
69+
ref: main
7070
fetch-depth: 0
7171

7272
- name: Verify version.py
@@ -97,7 +97,7 @@ jobs:
9797
- name: Checkout code
9898
uses: actions/checkout@v4
9999
with:
100-
ref: master
100+
ref: main
101101
fetch-depth: 0
102102

103103
- name: Install wheel

0 commit comments

Comments
 (0)