ci(cz): allow docs as the type of change
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
ef5509f4de
commit
6dc4ae4c45
1 changed files with 2 additions and 2 deletions
4
.cz.toml
4
.cz.toml
|
@ -16,7 +16,7 @@ example = "day(01): solve part 1"
|
||||||
schema = "‹type›‹optional scope, e.g., day›: ‹message›\n\n‹body›"
|
schema = "‹type›‹optional scope, e.g., day›: ‹message›\n\n‹body›"
|
||||||
schema_pattern = """\
|
schema_pattern = """\
|
||||||
(?s)\
|
(?s)\
|
||||||
(chore|ci|day|fix|feat)\
|
(chore|ci|day|fix|feat|docs)\
|
||||||
(\\(\\S+\\))?!?:\
|
(\\(\\S+\\))?!?:\
|
||||||
( [^\\n\\r]+)\
|
( [^\\n\\r]+)\
|
||||||
((\\n\\n.*)|(\\s*))?$\
|
((\\n\\n.*)|(\\s*))?$\
|
||||||
|
@ -26,7 +26,7 @@ schema_pattern = """\
|
||||||
name = "change_type"
|
name = "change_type"
|
||||||
message = "Select the type of change you are commiting"
|
message = "Select the type of change you are commiting"
|
||||||
type = "list"
|
type = "list"
|
||||||
choices = ["day", "feat", "fix", "chore", "ci"]
|
choices = ["day", "feat", "fix", "docs", "chore", "ci"]
|
||||||
|
|
||||||
[[tool.commitizen.customize.questions]]
|
[[tool.commitizen.customize.questions]]
|
||||||
name = "scope"
|
name = "scope"
|
||||||
|
|
Loading…
Reference in a new issue