chore: add gitleaks to pre-commit setup

This commit is contained in:
2024-03-22 23:29:08 +01:00
parent bfcd75c5eb
commit 8f9cf64e87
+4
View File
@@ -40,4 +40,8 @@ repos:
rev: v1.57.1
hooks:
- 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/.*$$'