diff --git a/.github/workflows/build-stylesheet.yml b/.github/workflows/build-stylesheet.yml index 0ddf82d..e8850ec 100644 --- a/.github/workflows/build-stylesheet.yml +++ b/.github/workflows/build-stylesheet.yml @@ -23,7 +23,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 -m "Build stylesheet" -a + git diff --exit-code || git commit -m "Build stylesheet" -a - name: Push Stylesheet to Repository uses: ad-m/github-push-action@master with: