chore: add gitleaks to pre-commit setup
This commit is contained in:
@@ -40,4 +40,8 @@ repos:
|
|||||||
rev: v1.57.1
|
rev: v1.57.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: golangci-lint
|
- id: golangci-lint
|
||||||
|
- repo: https://github.com/gitleaks/gitleaks
|
||||||
|
rev: v8.18.2
|
||||||
|
hooks:
|
||||||
|
- id: gitleaks
|
||||||
exclude: '^ctl/generated.go|graph/generated/.*$|^graph/model/models_gen.go|^tools/.*$$'
|
exclude: '^ctl/generated.go|graph/generated/.*$|^graph/model/models_gen.go|^tools/.*$$'
|
||||||
|
|||||||
Reference in New Issue
Block a user