We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a130b1a commit 690639eCopy full SHA for 690639e
1 file changed
.github/hooks/commit-msg
@@ -4,7 +4,7 @@
4
msg_file="$1"
5
commit_msg="$(<"$msg_file")"
6
7
-regex="^(feat|fix|chore|docs|style|refactor|test|perf|ci|build|revert) *\([[:space:]]*#[[:space:]]*[0-9]+[[:space:]]*\) *: .+$"
+regex="^(feat|fix|chore|docs|style|refactor|test|perf|ci|build|revert) \\( #[0-9]+ \\) : .+$"
8
9
if [[ ! $commit_msg =~ $regex ]]; then
10
echo "❌ 메시지 형식 에러: 타입 ( #이슈 ) : 설명"
0 commit comments