File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,17 @@ jobs:
4141 ! git diff -I'^"POT-Creation-Date: ' -I'^"Language-Team: ' -I'^# Copyright (C) 2001-' --exit-code && echo "SIGNIFICANT_CHANGES=1" >> $GITHUB_ENV || exit 0
4242 - run : >
4343 ! git diff -G'\!\[[0-9]{2,3}\.[0-9]{2}% przełącznika języków\]' --exit-code README.md && echo "SWITCHER_PROGRESS=1" >> $GITHUB_ENV || exit 0
44+ - run : git add .
45+ - run : git commit -m 'Update translation from Transifex'
46+ if : env.SIGNIFICANT_CHANGES
4447 - run : pip install gitpython matplotlib
4548 if : env.SWITCHER_PROGRESS
4649 - run : python update_switcher_chart.py
4750 if : env.SWITCHER_PROGRESS
4851 - run : git add .
49- - run : git commit -m 'Update translation from Transifex' || true
50- if : env.SIGNIFICANT_CHANGES
52+ if : env.SWITCHER_PROGRESS
53+ - run : git commit -m 'Update switcher progress chart'
54+ if : env.SWITCHER_PROGRESS
5155 - uses : ad-m/github-push-action@master
5256 if : env.SIGNIFICANT_CHANGES
5357 with :
You can’t perform that action at this time.
0 commit comments