ci: Initialized commitizen configuration

This commit is contained in:
2025-10-07 10:57:37 -06:00
parent dc500207ef
commit a4fe91ffda
4 changed files with 24 additions and 16 deletions
+10
View File
@@ -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
View File
@@ -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]
+6
View File
@@ -0,0 +1,6 @@
{
"name": "loki",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}
+1
View File
@@ -0,0 +1 @@
{}