Skip to content

Commit dfb4c3d

Browse files
author
mritd
committed
fix(commit msg check): allow branch prefix hotfix
allow branch prefix hotfix Signed-off-by: mritd <[email protected]>
1 parent 7b7b3cd commit dfb4c3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/commit/cm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func CheckCommitMessage(args []string) {
3838
case string(consts.TEST):
3939
case string(consts.CHORE):
4040
case string(consts.PERF):
41+
case string(consts.HOTFIX):
4142
default:
4243
if !strings.HasPrefix(string(b), "Merge branch") {
4344
checkFailed()

0 commit comments

Comments
 (0)