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:
|
repos:
|
||||||
- repo: local
|
- hooks:
|
||||||
hooks:
|
- id: commitizen
|
||||||
- id: ensure-no-gcloud-directory
|
- id: commitizen-branch
|
||||||
name: Ensure there's no gcloud directory in the commit
|
stages:
|
||||||
entry: ./.hooks/pre-commit.sh
|
- pre-push
|
||||||
language: script
|
repo: https://github.com/commitizen-tools/commitizen
|
||||||
always_run: true
|
rev: v3.30.0
|
||||||
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]
|
|
||||||
|
|||||||
Generated
+6
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "loki",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {}
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
Reference in New Issue
Block a user