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 bb4fce1 commit 5086f31Copy full SHA for 5086f31
.github/workflows/publish.yml
@@ -55,7 +55,14 @@ jobs:
55
- name: Lock Weblate and Sync
56
run: wlc lock
57
- name: Commit Weblate changes
58
- run: wlc commit
+ run: |
59
+ # 2025-12-01 - wlc commit started returning an error if there are no commits pending
60
+ # See https://github.com/WeblateOrg/wlc/issues/1054 for details
61
+ if [[ $(wlc repo | grep "needs_commit: True") ]]; then
62
+ wlc commit
63
+ else
64
+ echo "No commit required"
65
+ fi
66
- name: Push Weblate changes
67
run: wlc push
68
- name: Pull translation updates pushed by Weblate
0 commit comments