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.
This commit is contained in:
DougCh
2020-05-26 13:41:49 -07:00
committed by GitHub
parent f18534c0e2
commit a53759b2bf

View File

@@ -20,6 +20,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Create local changes
run: |
...