There was an error while loading. Please reload this page.
1 parent f89e05f commit bb304b1Copy full SHA for bb304b1
1 file changed
.github/workflows/transifex-pull.yml
@@ -67,12 +67,13 @@ jobs:
67
run: |
68
git config --local user.email github-actions@github.com
69
git config --local user.name "GitHub Action's update-translation job"
70
+ - run: git add -N . ':!transifex-util.py'
71
- name: Filter files
72
- ! git diff -I'^"POT-Creation-Date: ' \
73
- -I'^"Language-Team: ' \
74
- -I'^# ' -I'^"Last-Translator: ' \
75
- --exit-code \
+ ! git diff --cached -I'^"POT-Creation-Date: ' \
+ -I'^"Language-Team: ' \
+ -I'^# ' -I'^"Last-Translator: ' \
76
+ --exit-code \
77
&& echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
78
- run: git add . ':!transifex-util.py'
79
- run: git commit -m 'Update translation from Transifex'
0 commit comments