diff --git a/.github/workflows/refresh.yml b/.github/workflows/refresh.yml index 6ccbb0c..dd00d3e 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'