Skip to content

Commit 8d1f3ad

Browse files
committed
Don't commit diffs with language-team update only
1 parent 19c2057 commit 8d1f3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- run: git config --local user.email github-actions@github.com
3838
- run: git config --local user.name "GitHub Action's update-translation job"
3939
- run: >
40-
! git diff --ignore-matching-lines='^"POT-Creation-Date: ' --exit-code && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
40+
! git diff -I'^"POT-Creation-Date: ' -I'^"Language-Team: ' --exit-code && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
4141
- run: git add .
4242
- run: git commit -m 'Update translation from Transifex' || true
4343
if: env.SIGNIFICANT_CHANGES

0 commit comments

Comments
 (0)