[CI] Less weekly churn from automated tasks (#3548)

* Less weekly churn pls

* be smarter here *just in case*
This commit is contained in:
Michael H 2020-02-16 16:53:02 -05:00 committed by GitHub
parent 888c47cdd2
commit f6c85cd37a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,9 @@ jobs:
- name: Download translations - name: Download translations
run: | run: |
make download_translations 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 - name: Create Pull Request
uses: peter-evans/create-pull-request@v2 uses: peter-evans/create-pull-request@v2
with: with: