diff --git a/verify-commit-messages.sh b/verify-commit-messages.sh index 3ee523ca0..adc62f7c8 100755 --- a/verify-commit-messages.sh +++ b/verify-commit-messages.sh @@ -31,7 +31,7 @@ echo "" # ← formatting # Conform, /OR ELSE/. if git log --format=format:'%s' "$ARG" | \ - grep -v -E '^(feat|fix|docs|style|refactor|perf|revert|test|chore)(\(.+\))?:.{1,68}$' + grep -v -E '^((feat|fix|docs|style|refactor|perf|revert|test|chore)(\(.+\))?:.{1,68})|(Merge pull request #[[:digit:]]{4,10})$' then echo "" echo "Above ↑ commits don't conform to commit message format:"