From a356df2473dcff24bf360439230549b8d02423ed Mon Sep 17 00:00:00 2001 From: jaredliw Date: Sat, 24 Jul 2021 11:21:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/restructure_files.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/restructure_files.yml b/.github/workflows/restructure_files.yml index ac668a1..d510109 100644 --- a/.github/workflows/restructure_files.yml +++ b/.github/workflows/restructure_files.yml @@ -26,7 +26,7 @@ jobs: run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git commit -am "代码重构 【Github Actions】" + git diff-index --quiet HEAD -- || git commit -am "代码重构 【Github Actions】" - name: Push changes uses: ad-m/github-push-action@master