feat(pre-commit): add Gitleaks hook for secret scanning
Signed-off-by: Klagarge <remi@heredero.ch>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user