diff --git a/.github/workflows/google-fonts.yml b/.github/workflows/google-fonts.yml index 4d36120c6df4..72bd8a5a26c6 100644 --- a/.github/workflows/google-fonts.yml +++ b/.github/workflows/google-fonts.yml @@ -60,8 +60,7 @@ jobs: - name: Check for changes id: changes-check run: | - if git diff --stat --exit-code - then + if [[ -z $(git status --porcelain) ]]; then echo "changes=false" >> "$GITHUB_ENV" else echo "changes=true" >> "$GITHUB_ENV"