-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cz.toml
19 lines (15 loc) · 1.07 KB
/
.cz.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[tool.commitizen]
name = "cz_customize"
tag_format = "v$version"
version_scheme = "semver"
version_provider = "poetry"
update_changelog_on_bump = true
template = "templates/CHANGELOG.md.j2"
[tool.commitizen.customize]
# Choices here are based on cz.conventional_commits.conventional_commits.ConventionalCommitsCz
# See https://commitizen-tools.github.io/commitizen/commands/changelog/#description
# Sync the list of change_type values with .github/workflows/pr-title.yml
commit_parser = "^((?P<change_type>feat|fix|docs|style|refactor|perf|test|ci|chore|revert|infra|build)(?:\\((?P<scope>[^()\r\n]*)\\)|\\()?(?P<breaking>!)?|\\w+!):\\s(?P<message>.*)?"
# We group some change_type values into "Internal". The custom template for the changelog may exclude them.
change_type_map = { "feat" = "Added", "fix" = "Fixed", "docs" = "Internal", "style" = "Internal", "refactor" = "Internal", "perf" = "Internal", "test" = "Internal", "ci" = "Internal", "chore" = "Internal", "revert" = "Internal", "infra" = "Internal", "build" = "Internal" }
change_type_order = ["Added", "Fixed", "Internal"]