Skip to content

Commit

Permalink
Add checkout options to the example
Browse files Browse the repository at this point in the history
These two lines are critical to the function of the Action, please add to the readme so the fix in ad-m#44 doesn't get lost.
  • Loading branch information
dougch committed May 26, 2020
1 parent fe38f0a commit 496fdcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
...
Expand Down

0 comments on commit 496fdcb

Please sign in to comment.