diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b247d12..223f17d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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/.*$$'