From a4b179de5e131e919c0818688b20e28f40ee0968 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Date: Thu, 17 Apr 2025 19:55:49 +0100 Subject: [PATCH] Wrap long workflow line --- .github/workflows/update-lint-and-build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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