add git diff command

This commit is contained in:
shellhub 2020-10-27 11:16:02 +08:00
parent 6faa2e31f2
commit f2da5999bd

View File

@ -20,6 +20,7 @@ jobs:
- name: Commit Format changes
if: failure()
run: |
git diff
git config --global user.name github-actions
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY