diff --git a/commit_check/rules_catalog.py b/commit_check/rules_catalog.py index 108b4134..10da2e88 100644 --- a/commit_check/rules_catalog.py +++ b/commit_check/rules_catalog.py @@ -100,7 +100,7 @@ class RuleCatalogEntry: ), RuleCatalogEntry( check="require_signed_off_by", - regex=r"Signed-off-by:.*[A-Za-z0-9]\s+<.+@.+>", + regex=r"Signed-off-by: .+ <.+@.+>", error="Signed-off-by not found in latest commit", suggest="git commit --amend --signoff or use --signoff on commit", ),