diff --git a/.github/workflows/refresh.yml b/.github/workflows/refresh.yml index 3e4f0f6..6dcf931 100644 --- a/.github/workflows/refresh.yml +++ b/.github/workflows/refresh.yml @@ -25,7 +25,7 @@ jobs: - name: Check if there's any changes id: verify_diff run: | - git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT + if [ -n "$(git status --porcelain)" ]; then echo "changed=true" || tee -a $GITHUB_OUTPUT; fi - name: Commit and push if: steps.verify_diff.outputs.changed == 'true'