From cb59f17cc47d06225021d9c5b057697c2d493581 Mon Sep 17 00:00:00 2001 From: Randolph Sapp Date: Wed, 8 Jul 2026 20:26:05 -0500 Subject: [PATCH] fix(require_signed_off_by): allow any name This regex is too strict right now. Same could probably be said about the author_name regex. It catches bots like dependabot incorrectly. Signed-off-by: Randolph Sapp --- commit_check/rules_catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", ),