feat: configure commitizen
This commit is contained in:
parent
6b48e28ae0
commit
9203d38647
7
.cz.toml
Normal file
7
.cz.toml
Normal file
@ -0,0 +1,7 @@
|
||||
[tool.commitizen]
|
||||
name = "cz_conventional_commits"
|
||||
tag_format = "v$version"
|
||||
version_scheme = "semver"
|
||||
version_provider = "scm"
|
||||
update_changelog_on_bump = true
|
||||
bump_message = "release: $current_version → $new_version [skip-ci]"
|
@ -18,3 +18,11 @@ repos:
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- repo: https://github.com/commitizen-tools/commitizen
|
||||
rev: v3.24.0
|
||||
hooks:
|
||||
- id: commitizen
|
||||
- id: commitizen-branch
|
||||
stages:
|
||||
- post-commit
|
||||
- push
|
||||
|
Loading…
Reference in New Issue
Block a user