lint-commits: forbid localhost email, too
This commit is contained in:
parent
52671653e7
commit
ce8e8797bc
|
@ -36,6 +36,10 @@ do
|
|||
print "::error title=Commit Lint::" C ": authored by noreply email";
|
||||
ret=1;
|
||||
}
|
||||
/^author .*(localhost|localdomain|[(]none[)])/ && !msg {
|
||||
print "::error title=Commit Lint::" C ": authored by localhost email";
|
||||
ret=1;
|
||||
}
|
||||
!msg { next }
|
||||
# 3: long-line-is-banned-except-footnote-like-this-for-url
|
||||
(NF > 2) && (length > 80) {
|
||||
|
|
Loading…
Reference in New Issue