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:
Ben Randall authored and GitHub committed 2021-12-03 16:09:05 -06:00
1 parent 106897fdf0
commit 928c6a6043
1 file changed
+1 -1
+1 -1
View File
@@ -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