mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 21:24:35 +04:00
house-keeping: workflow improvements
pass tests when Weblate PR only adds an i18n
This commit is contained in:
2
.github/workflows/formal.yml
vendored
2
.github/workflows/formal.yml
vendored
@@ -61,6 +61,8 @@ jobs:
|
|||||||
success "Commit subject line seems ok ($subject)"
|
success "Commit subject line seems ok ($subject)"
|
||||||
elif echo "$subject" | grep -iq '^Translated using Weblate.*'; then
|
elif echo "$subject" | grep -iq '^Translated using Weblate.*'; then
|
||||||
success "Weblate commit subject line exception OK: $subject"
|
success "Weblate commit subject line exception OK: $subject"
|
||||||
|
elif echo "$subject" | grep -iq '^Added translation using Weblate.*'; then
|
||||||
|
success "Weblate commit subject line exception OK: $subject"
|
||||||
else
|
else
|
||||||
err "Commit subject line MUST start with '<package name>: ' ($subject)"
|
err "Commit subject line MUST start with '<package name>: ' ($subject)"
|
||||||
RET=1
|
RET=1
|
||||||
|
|||||||
Reference in New Issue
Block a user