mirror of https://github.com/immortalwrt/luci.git
house-keeping: workflow improvements
pass tests when Weblate PR only adds an i18n
This commit is contained in:
parent
7b1aad4885
commit
e557e17829
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue