From 298c19307b68da9127328b0058c16747a2b7069e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 23 Feb 2023 19:26:57 +0530 Subject: fix(ci): improve check for uncommitted changes --- .github/workflows/sync_crowdin.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows/sync_crowdin.yml') diff --git a/.github/workflows/sync_crowdin.yml b/.github/workflows/sync_crowdin.yml index 9594985f..57ee33d3 100644 --- a/.github/workflows/sync_crowdin.yml +++ b/.github/workflows/sync_crowdin.yml @@ -27,8 +27,8 @@ jobs: CROWDIN_PROJECT_KEY: ${{ secrets.CROWDIN_PROJECT_KEY }} CROWDIN_PROJECT_IDENTIFIER: ${{ secrets.CROWDIN_PROJECT_IDENTIFIER }} - - name: Compare list changes - run: if [[ $(git diff --stat) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi + - name: Check if PR is required + run: if [[ $(git status -s) != '' ]]; then echo "UPDATED=true" >> $GITHUB_ENV; fi - name: Create Pull Request id: cpr -- cgit v1.2.3