From 03546148db727ecd1e4d5a38afbd1cd8f2821371 Mon Sep 17 00:00:00 2001 From: Ken Carpenter <62639971+FoundationKen@users.noreply.github.com> Date: Fri, 30 Jul 2021 10:17:25 -0700 Subject: [PATCH] Update .githooks/commit-msg Co-authored-by: Jean Pierre Dudey --- .githooks/commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.githooks/commit-msg b/.githooks/commit-msg index 558de19..001d165 100755 --- a/.githooks/commit-msg +++ b/.githooks/commit-msg @@ -1,7 +1,7 @@ #!/usr/bin/env bash TEAM_PREFIX='PASS1' -commit_regex="($TEAM_PREFIX-[0-9]+:\ )" +commit_regex="^($TEAM_PREFIX-[0-9]+:\ )" if ! `grep -iqE "$commit_regex" "$1"`; then echo "=========================================================================================" >&2