-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: added pre-commit with generic, golangci, and commitizen hooks
- Loading branch information
1 parent
9e139b7
commit 03c385f
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
commitizen: | ||
name: cz_conventional_commits | ||
tag_format: v$version | ||
update_changelog_on_bump: true | ||
version: 1.1.3 | ||
version_scheme: semver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: c4a0b883114b00d8d76b479c820ce7950211c99b # v4.5.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-json | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/golangci/golangci-lint | ||
rev: e3c2265f4939976874989e159386b3bb7dcf8e1f # v1.55.2 | ||
hooks: | ||
- id: golangci-lint-full | ||
- repo: https://github.com/commitizen-tools/commitizen | ||
rev: a35591485dae4eadc30291fcb676169c209604a4 # v3.13.0 | ||
hooks: | ||
- id: commitizen | ||
stages: [commit-msg] |