Allow chore type in validation regex #9

Merged
CTO merged 3 commits from develop into main 2023-08-23 19:54:05 +00:00
Showing only changes of commit 6c663cf7fc - Show all commits

View File

@@ -465,7 +465,7 @@ program
const testRegex = new RegExp( const testRegex = new RegExp(
`(${ `(${
config?.types?.map((type) => type.value).join("|") || 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"] : "..*" config?.scopes ? [...config?.scopes, "release"] : "..*"
})\\))?!?: .* ?(\\(..*\\))?((\n\n..*)?(\n\n..*)?)?`, })\\))?!?: .* ?(\\(..*\\))?((\n\n..*)?(\n\n..*)?)?`,