Skip to content

Commit 67eaa60

Browse files
authored
Update python-publish.yml
1 parent facb3e8 commit 67eaa60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
uses: actions/setup-python@v3
2727
with:
2828
python-version: '3.x'
29+
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
30+
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
2931
- name: Install dependencies
3032
run: |
3133
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)