From 6c663cf7fc6d0c4d3e011010e5dac00ccf1fa42c Mon Sep 17 00:00:00 2001 From: Olivers Vitins Date: Wed, 23 Aug 2023 22:52:54 +0300 Subject: [PATCH] fix(commands): allow chore type in validation regex --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e4a7c1e..d9f59eb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -465,7 +465,7 @@ program const testRegex = new RegExp( `(${ config?.types?.map((type) => type.value).join("|") || - "feat|fix|build|ci|docs|perf|refactor" + "feat|fix|build|ci|docs|perf|refactor|chore" })(\\((${ config?.scopes ? [...config?.scopes, "release"] : "..*" })\\))?!?: .* ?(\\(..*\\))?((\n\n..*)?(\n\n..*)?)?`,