chore: fix nothing to commit error

This commit is contained in:
DIYgod
2020-07-09 16:50:51 +08:00
parent f54aa3d304
commit bc39c3be6a
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "style: auto format" -a
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: