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: