chore: remove github-push-action

This commit is contained in:
DIYgod
2020-07-09 16:59:11 +08:00
parent bc39c3be6a
commit 1180c13e3d
+1 -5
View File
@@ -21,8 +21,4 @@ jobs:
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git diff-index --quiet HEAD || git commit -m "style: auto format" -a --no-verify
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
git diff-index --quiet HEAD || (git commit -m "style: auto format" -a --no-verify && git push "https://${GITHUB_ACTOR}:${{ secrets.GITHUB_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" HEAD:master)