feat(pre-commit): add Gitleaks hook for secret scanning

Signed-off-by: Klagarge <remi@heredero.ch>
This commit is contained in:
2025-04-15 21:38:06 +02:00
parent 32e2d37dd3
commit f6610ba524

View File

@@ -12,6 +12,11 @@ repos:
- id: pip-audit
args: ["./src"]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.24.2
hooks:
- id: gitleaks
ci:
# Leave pip-audit to only run locally and not in CI
# pre-commit.ci does not allow network calls