Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b92466 commit 3281be3Copy full SHA for 3281be3
.github/workflows/update-lint-and-build.yml
@@ -53,12 +53,8 @@ jobs:
53
- run: git config --local user.email [email protected]
54
- run: git config --local user.name "GitHub Action's update-translation job"
55
- name: Check changes significance
56
- run: |
57
- ! git diff -I'^"POT-Creation-Date: ' \
58
- -I'^"Language-Team: ' \
59
- -I'^# ' -I'^"Last-Translator: ' \
60
- --exit-code \
61
- && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
+ run: >
+ ! git diff -I'^"POT-Creation-Date: ' -I'^"Language-Team: ' -I'^# ' -I'^"Last-Translator: ' --exit-code && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
62
- run: git add .
63
- run: git commit -m 'Update translation from Transifex'
64
if: env.SIGNIFICANT_CHANGES
0 commit comments