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.
diff --git a/README.md b/README.md
index b0c5c60..64df458 100644
--- a/README.md
+++ b/README.md
@@ -20,6 +20,9 @@
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: |
...