From f6c85cd37a0ca14509e0d2bd0c463cffdf18849a Mon Sep 17 00:00:00 2001 From: Michael H Date: Sun, 16 Feb 2020 16:53:02 -0500 Subject: [PATCH] [CI] Less weekly churn from automated tasks (#3548) * Less weekly churn pls * be smarter here *just in case* --- .github/workflows/publish_crowdin.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish_crowdin.yml b/.github/workflows/publish_crowdin.yml index 205d57a98..0c8507a9d 100644 --- a/.github/workflows/publish_crowdin.yml +++ b/.github/workflows/publish_crowdin.yml @@ -35,6 +35,9 @@ jobs: - name: Download translations run: | make download_translations + - name: Remove files from PR which only have a date changed + run: | + git checkout HEAD -- $(git diff HEAD --numstat | awk 'BEGIN {ORS=" "} $1 == "1" && $2 == "1" && $3 ~ /.po$/ {print $3}') - name: Create Pull Request uses: peter-evans/create-pull-request@v2 with: