Skip to content

Commit 7a0a2fc

Browse files
Wrap long workflow line (#74)
1 parent deccc61 commit 7a0a2fc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/update-lint-and-build.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,12 @@ jobs:
4949
- run: git config --local user.email github-actions@github.com
5050
- run: git config --local user.name "GitHub Action's update-translation job"
5151
# 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
52+
- run: |
53+
! 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
5458
- run: git add .
5559
- run: git commit -m 'Update translation from Transifex'
5660
if: env.SIGNIFICANT_CHANGES

0 commit comments

Comments
 (0)