We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deccc61 commit 7a0a2fcCopy full SHA for 7a0a2fc
.github/workflows/update-lint-and-build.yml
@@ -49,8 +49,12 @@ jobs:
49
- run: git config --local user.email github-actions@github.com
50
- run: git config --local user.name "GitHub Action's update-translation job"
51
# Check for changes in README.md
52
- - run: >
53
- ! git diff -I'^"POT-Creation-Date: ' -I'^"Language-Team: ' -I'^# ' -I'^"Last-Translator: ' --exit-code && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
+ - run: |
+ ! git diff -I'^"POT-Creation-Date: ' \
54
+ -I'^"Language-Team: ' \
55
+ -I'^# ' -I'^"Last-Translator: ' \
56
+ --exit-code \
57
+ && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
58
- run: git add .
59
- run: git commit -m 'Update translation from Transifex'
60
if: env.SIGNIFICANT_CHANGES
0 commit comments