fix(commands): allow chore type in validation regex

This commit is contained in:
2023-08-23 22:52:54 +03:00
parent 535a62857c
commit 6c663cf7fc

View File

@@ -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..*)?)?`,