We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a26c24 commit e8d232bCopy full SHA for e8d232b
.github/workflows/update-lint-and-build.yml
@@ -36,9 +36,13 @@ jobs:
36
TX_TOKEN: ${{ secrets.TX_TOKEN }}
37
- run: git config --local user.email github-actions@github.com
38
- run: git config --local user.name "GitHub Action's update-translation job"
39
+ - run: >
40
+ if [$(git diff --ignore-matching-lines='^"POT-Creation-Date: ' | wc -l) -ne 0 ]; then export SIGNIFICANT_CHANGES=1; fi
41
- run: git add .
42
- run: git commit -m 'Update translation from Transifex' || true
43
+ if: env.SIGNIFICANT_CHANGES
44
- uses: ad-m/github-push-action@master
45
46
with:
47
branch: ${{ matrix.version }}
48
github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments