From 0d87a7e7515c7ff2a0a7da29a4fb819e700567b3 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Thu, 1 Aug 2024 00:36:09 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20build(.cz.yaml):=20add=20commiti?= =?UTF-8?q?zen=20config=20file=20>>>=20=E2=8F=B0=202h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit install commitizen with pip install commitizen --- .cz.yaml | 8 ++++++++ .pre-commit-config.yaml | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 .cz.yaml diff --git a/.cz.yaml b/.cz.yaml new file mode 100644 index 0000000..35aa66f --- /dev/null +++ b/.cz.yaml @@ -0,0 +1,8 @@ +--- +commitizen: + major_version_zero: true + name: cz_gitmoji + tag_format: $version + update_changelog_on_bump: true + version: 0.0.1 + version_scheme: semver2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3fc319d..4fb8e19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -92,3 +92,8 @@ repos: exclude: \.(terraform/.*|terragrunt-cache)$ args: - --hook-config=--parallelism-ci-cpu-cores=2 + +- repo: https://github.com/ljnsn/cz-conventional-gitmoji + rev: v0.3.2 + hooks: + - id: conventional-gitmoji