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 |       -   id: pip-audit | ||||||
|           args: ["./src"] |           args: ["./src"] | ||||||
|  |  | ||||||
|  |   - repo: https://github.com/gitleaks/gitleaks | ||||||
|  |     rev: v8.24.2 | ||||||
|  |     hooks: | ||||||
|  |       - id: gitleaks | ||||||
|  |  | ||||||
| ci: | ci: | ||||||
|   # Leave pip-audit to only run locally and not in CI |   # Leave pip-audit to only run locally and not in CI | ||||||
|   # pre-commit.ci does not allow network calls |   # pre-commit.ci does not allow network calls | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user