Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 8193fe2

Browse files
committed
fix: commit-msg hook regex
1 parent 5a63ff0 commit 8193fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"./vendor/bin/x-ray src",
7575
"./vendor/bin/php-cs-fixer fix"
7676
],
77-
"commit-msg": "grep -E '^((feat|chore|docs|refactor|fix){1}\\:{1}\\s{1}[a-z]{1}|Merge branch).*' $1",
77+
"commit-msg": "grep -E '^(((feat|chore|docs|refactor|fix){1}\\:{1}\\s{1}[a-z]{1})|(Merge\\s?(remote\\-tracking)?\\s?branch)).*' $1",
7878
"post-merge": [
7979
"export PATH=\"/usr/local/homebrew/bin:$PATH\"",
8080
"composer install"

0 commit comments

Comments
 (0)