aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/update_publicsuffix_data.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update_publicsuffix_data.yml')
-rw-r--r--.github/workflows/update_publicsuffix_data.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/update_publicsuffix_data.yml b/.github/workflows/update_publicsuffix_data.yml
index 3da9126f..ca390984 100644
--- a/.github/workflows/update_publicsuffix_data.yml
+++ b/.github/workflows/update_publicsuffix_data.yml
@@ -23,8 +23,8 @@ jobs:
arguments: updatePSL
gradle-home-cache-cleanup: true
- - name: Compare list changes
- run: if [[ $(git diff --binary --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: Verify update publicsuffixes file
uses: gradle/gradle-build-action@6095a76664413da4c8c134ee32e8a8ae900f0f1f # v2.4.0