Skip to content

Commit

Permalink
ci(semantic): add commitizen and pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
gofrolist committed Oct 8, 2021
1 parent c98e1f7 commit a1d19ad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cz.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
commitizen:
name: cz_conventional_commits
tag_format: v$version
version: '2.1.2'
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
repos:
- hooks:
- id: commitizen
stages:
- commit-msg
repo: https://github.com/commitizen-tools/commitizen
rev: v2.20.0

0 comments on commit a1d19ad

Please sign in to comment.