From cb68ffae360e4070dd04b4967889dca4f909b2b3 Mon Sep 17 00:00:00 2001 From: Jeeva Ramachandran <120017870+JeevaRamu0104@users.noreply.github.com> Date: Wed, 29 Nov 2023 15:49:21 +0530 Subject: [PATCH] Update commit-msg --- .githooks/commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.githooks/commit-msg b/.githooks/commit-msg index f7166459d..d1144b41d 100755 --- a/.githooks/commit-msg +++ b/.githooks/commit-msg @@ -11,7 +11,7 @@ npx prettier --write . npm run re:format # Define your commit message convention (e.g., starts with "feature:", "fix:", etc.) -commit_regex="^(merge-commit|feature|bugfix|chore|docs|style|refactor|test|enhancement).+" +commit_regex="^(merge-commit|feat|fix|chore|docs|style|refactor|test|enhancement).+" if ! echo "$commit_msg" | grep -E "$commit_regex" ; then echo "Aborting commit. Your commit message does not follow the conventional format."