Skip to content

chore(husky): skip commit-msg prefix check for merge commits - #385

Merged
KishanPRao merged 1 commit into
mainfrom
chore/commit-prefix-merge
Aug 18, 2026
Merged

chore(husky): skip commit-msg prefix check for merge commits#385
KishanPRao merged 1 commit into
mainfrom
chore/commit-prefix-merge

Conversation

@KishanPRao

@KishanPRao KishanPRao commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Merge commits fail the prefix check: the message is git-generated and the staged files are the incoming branch's.

Changes

.husky/commit-msg: exit early when MERGE_HEAD exists.

ref: BT-7481

@KishanPRao KishanPRao self-assigned this Aug 18, 2026
@KishanPRao
KishanPRao marked this pull request as ready for review August 18, 2026 13:52
@KishanPRao
KishanPRao merged commit a02b5ee into main Aug 18, 2026
10 checks passed
@KishanPRao
KishanPRao deleted the chore/commit-prefix-merge branch August 18, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant