add check out

This commit is contained in:
Bin Yang
2021-10-26 01:14:04 -04:00
parent cc162caf46
commit d8428f7264
3 changed files with 9 additions and 3 deletions
+6
View File
@@ -42,6 +42,12 @@ jobs:
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GIT_TOKEN }}
- name: Check out master first
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: Commit & Push changes
uses: actions-js/push@master
with: