File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,15 +80,18 @@ jobs:
8080 run : |
8181 git config --local user.email github-actions@github.com
8282 git config --local user.name "GitHub Action's update-translation job"
83- - run : git add -N . ':!transifex-util.py'
83+ - run : git add . ':!transifex-util.py'
84+ - name : Debug staged files
85+ run : |
86+ echo "== staged after git add =="
87+ git diff --cached --name-status -- . ':!transifex-util.py'
8488 - name : Filter files
8589 run : |
8690 ! git diff --cached -I'^"POT-Creation-Date: ' \
8791 -I'^"Language-Team: ' \
8892 -I'^# ' -I'^"Last-Translator: ' \
8993 --exit-code \
9094 && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
91- - run : git add . ':!transifex-util.py'
9295 - run : git commit -m 'Update translation from Transifex'
9396 if : env.SIGNIFICANT_CHANGES == '1'
9497 - uses : ad-m/github-push-action@master
You can’t perform that action at this time.
0 commit comments