From 69e1889462c8b9d116c1a120d5da34d6be44478a Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 24 Aug 2022 17:06:39 +0200 Subject: [PATCH] (bug) allow version/merge commit messages --- .overcommit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.overcommit.yml b/.overcommit.yml index c5ea9cf19..e11b266f1 100644 --- a/.overcommit.yml +++ b/.overcommit.yml @@ -12,7 +12,7 @@ CommitMsg: MessageFormat: enabled: true - pattern: ^\([a-z]+\) [\w ]+(\n\n.+)? + pattern: ^(\([a-z]+\) [\w ]+(\n\n.+)?)|(Version (\d+\.?)+)|(Merge branch .*) expected_pattern_message: (type) title\n\ndescription sample_message: (bug) no validation on date\n\nThe birthdate was not validated...