diff --git a/.github/workflows/update-lint-and-build.yml b/.github/workflows/update-lint-and-build.yml index 9c7447331..14f8d9891 100644 --- a/.github/workflows/update-lint-and-build.yml +++ b/.github/workflows/update-lint-and-build.yml @@ -49,8 +49,12 @@ jobs: - run: git config --local user.email github-actions@github.com - run: git config --local user.name "GitHub Action's update-translation job" # Check for changes in README.md - - run: > - ! 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: ' \ + -I'^"Language-Team: ' \ + -I'^# ' -I'^"Last-Translator: ' \ + --exit-code \ + && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0 - run: git add . - run: git commit -m 'Update translation from Transifex' if: env.SIGNIFICANT_CHANGES