* Fix pre-commit config. * Debug output * No debug and use redacted. * Typo * Add back staged. * Update .pre-commit-hooks.yaml * Update .pre-commit-hooks.yaml
@@ -1,6 +1,6 @@
- id: gitleaks
name: Detect hardcoded secrets
description: Detect hardcoded secrets using Gitleaks
- entry: gitleaks
+ entry: gitleaks protect --verbose --redact --staged
language: golang
pass_filenames: false