Skip to content

Commit d6d2ed3

Browse files
committed
github: allow digits in module names
Module names might have digits in them, e.g. "i18n" or "modelsv2". Stop forbidding these.
1 parent 979bbdb commit d6d2ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/check-commit-titles.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ check_forbidden_chars() {
3434
}
3535

3636
check_structure() {
37-
if grep -q -E -v '^([-_.a-z]+[,:] )*[-_.a-z]+: [a-z](:[^ ]|[^:])*$'; then
37+
if grep -q -E -v '^([-_.a-z0-9]+[,:] )*[-_.a-z0-9]+: [a-z](:[^ ]|[^:])*$'; then
3838
echo 'Invalid commit title structure'
3939
fi
4040
}

0 commit comments

Comments
 (0)