File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed
Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -7,25 +7,17 @@ permissions:
77 contents : write
88
99jobs :
10- check-weblate-commit :
10+ # runs on weblate commit
11+ weblate-commit-build :
12+ if : ${{ contains(github.event.head_commit.message, 'Translated using Weblate') }}
1113 runs-on : ubuntu-latest
1214 steps :
13- - name : check commit message and cancel self - if Weblate Commit
14- if : contains(github.event.head_commit.message, 'Translated using Weblate')
15- 16-
17- - name : TODO - start delayed (15mins?) full build
18- if : contains(github.event.head_commit.message, 'Translated using Weblate')
19- run : echo "dummy"
20-
21- - name : busy wait until cancel - if weblate commit
22- if : contains(github.event.head_commit.message, 'Translated using Weblate')
23- run : |
24- echo "busy wait"
25- sleep inf
26-
15+ - name : TODO - start full build (delayed)
16+ run : echo "TODO - start delayed full build, maybe 15mins?"
17+
18+ # on regular commit (auto excludes self-commited pot/po files)
2719 full-build :
28- needs : [ check-weblate-commit ]
20+ if : ${{ ! contains(github.event.head_commit.message, 'Translated using Weblate') }}
2921 concurrency :
3022 group : ${{ github.ref }}
3123 cancel-in-progress : true
You can’t perform that action at this time.
0 commit comments