mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-19 20:31:13 +01:00
CI: allow dots in commit subject area
Due to a limited grep pattern, subjects containing dots like `image.mk`
were falsely reported as problematic. Extend pattern to allow dots.
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit fb5d0dc362)
This commit is contained in:
parent
09f4533d6d
commit
6d4d665147
1 changed files with 1 additions and 1 deletions
2
.github/workflows/formal.yml
vendored
2
.github/workflows/formal.yml
vendored
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
fi
|
||||
|
||||
subject="$(git show -s --format=%s $commit)"
|
||||
if echo "$subject" | grep -q -e '^[0-9A-Za-z,+/_-]\+: ' -e '^Revert '; then
|
||||
if echo "$subject" | grep -q -e '^[0-9A-Za-z,+/_\.-]\+: ' -e '^Revert '; then
|
||||
success "Commit subject line seems ok ($subject)"
|
||||
else
|
||||
err "Commit subject line MUST start with '<area>: ' ($subject)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue