ci: Initialized commitizen configuration
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
[tool.commitizen]
|
||||
name = "cz_conventional_commits"
|
||||
tag_format = "v$version"
|
||||
version_scheme = "semver"
|
||||
version_provider = "cargo"
|
||||
update_changelog_on_bump = true
|
||||
major_version_zero = true
|
||||
|
||||
[tool.commitizen.hooks]
|
||||
pre-commit = "git add Cargo.toml Cargo.lock"
|
||||
+7
-16
@@ -1,17 +1,8 @@
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: ensure-no-gcloud-directory
|
||||
name: Ensure there's no gcloud directory in the commit
|
||||
entry: ./.hooks/pre-commit.sh
|
||||
language: script
|
||||
always_run: true
|
||||
files: .*
|
||||
stages: [pre-commit]
|
||||
|
||||
- id: run-approval-tests
|
||||
name: Run Hestia CI approval tests
|
||||
entry: ./.hooks/approval-tests.sh
|
||||
language: script
|
||||
files: .*
|
||||
stages: [pre-push]
|
||||
- hooks:
|
||||
- id: commitizen
|
||||
- id: commitizen-branch
|
||||
stages:
|
||||
- pre-push
|
||||
repo: https://github.com/commitizen-tools/commitizen
|
||||
rev: v3.30.0
|
||||
|
||||
Generated
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "loki",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
Reference in New Issue
Block a user