From f2da5999bd26f569754daabe9b6b943bf852c891 Mon Sep 17 00:00:00 2001 From: shellhub Date: Tue, 27 Oct 2020 11:16:02 +0800 Subject: [PATCH] add git diff command --- .github/workflows/checkstyle.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index 052112e29..7fce2a20f 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -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