Allow chore type in validation regex #9
@@ -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..*)?)?`,
|
||||||
|
|||||||
Reference in New Issue
Block a user