ci(cz): allow docs as the type of change

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2024-12-02 15:55:15 +01:00
parent ef5509f4de
commit 6dc4ae4c45
Signed by: mfocko
SSH key fingerprint: SHA256:icm0fIOSJUpy5+1x23sfr+hLtF9UhY8VpMC7H4WFJP8

View file

@ -16,7 +16,7 @@ example = "day(01): solve part 1"
schema = "typeoptional scope, e.g., day: message\n\nbody"
schema_pattern = """\
(?s)\
(chore|ci|day|fix|feat)\
(chore|ci|day|fix|feat|docs)\
(\\(\\S+\\))?!?:\
( [^\\n\\r]+)\
((\\n\\n.*)|(\\s*))?$\
@ -26,7 +26,7 @@ schema_pattern = """\
name = "change_type"
message = "Select the type of change you are commiting"
type = "list"
choices = ["day", "feat", "fix", "chore", "ci"]
choices = ["day", "feat", "fix", "docs", "chore", "ci"]
[[tool.commitizen.customize.questions]]
name = "scope"