Skip to content

Commit a53759b

Browse files
authored
Add checkout options to the example (#46)
These two lines are critical to the function of the Action, please add to the readme so the fix in #44 doesn't get lost.
1 parent f18534c commit a53759b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@master
23+
with:
24+
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
25+
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
2326
- name: Create local changes
2427
run: |
2528
...

0 commit comments

Comments
 (0)