mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
Update pre-commit step to run gitleaks checks (#729)
* 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
This commit is contained in:
1 parent
106897fdf0
commit
928c6a6043
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
- id: gitleaks
|
- id: gitleaks
|
||||||
name: Detect hardcoded secrets
|
name: Detect hardcoded secrets
|
||||||
description: Detect hardcoded secrets using Gitleaks
|
description: Detect hardcoded secrets using Gitleaks
|
||||||
entry: gitleaks
|
entry: gitleaks protect --verbose --redact --staged
|
||||||
language: golang
|
language: golang
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
Reference in new issue
Block a user