diff --git a/core/cli/ci.el b/core/cli/ci.el index 66365c272..ad58e9966 100644 --- a/core/cli/ci.el +++ b/core/cli/ci.el @@ -46,6 +46,12 @@ "\\)!?[^ :]*: ") "Invalid type") + (cons (lambda () + (when (re-search-forward "^[^ :]+: " nil t) + (and (looking-at "[A-Z][^-]") + (not (looking-at "\\(SPC\\|TAB\\|ESC\\|LFD\\|DEL\\|RET\\)"))))) + "Do not capitalize the first word of the subject") + (cons (lambda () (looking-at "^\\(bump\\|revert\\|release\\|merge\\|module\\)!?([^)]+):")) "This commit type's scope goes after the colon, not before")