From 59618b006c8506028e0c116596af820933977575 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Tue, 1 Oct 2024 20:34:52 +1000 Subject: [PATCH] .github/workflows/google-fonts.yml: fix changes check --- .github/workflows/google-fonts.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/google-fonts.yml b/.github/workflows/google-fonts.yml index 4d36120c6df41..72bd8a5a26c66 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"