Skip to content

Commit 1a5676c

Browse files
committed
chore: Add cocogitto conventional commits.
1 parent 2eb1038 commit 1a5676c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.lefthook.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ glob = "*.go"
1818
[pre-commit.commands.audit]
1919
run = "just --timestamp audit"
2020

21+
[pre-commit.commands.cog-check]
22+
run = "cog check"
23+
2124
#[commit-msg.commands.cog-verify]
2225
#run = "cog verify -i '{1}'"
2326

24-
#[commit-msg.commands.cog-check]
25-
#run = "cog check"
26-
2727
# Build commit message
2828
[prepare-commit-msg.commands.commitzen]
2929
interactive = true

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ GitHub Actions, Woodpecker CI, and Lefthook pre-commit scripts.
88
- [lefthook](https://github.com/evilmartians/lefthook) pre-commit scripts
99
- [just](https://just.systems) and [go-task](https://taskfile.dev) task runners
1010
- [pipelight](https://pipelight.dev) CI pipelines
11-
- [goji](https://github.com/muandane/goji) commitizen commit message linting
11+
- [goji](https://github.com/muandane/goji) and [cocogitto](https://github.com/cocogitto/cocogitto) conventional / commitizen commit message linting
1212
- [typos](https://github.com/crate-ci/typos) spell checking
1313
- [git-cliff](https://github.com/orhun/git-cliff) keep-a-changelog changelog generator
1414
- [lychee](https://github.com/lycheeverse/lychee) dead link checker

0 commit comments

Comments
 (0)