فهرست منبع

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
Ben Randall 4 سال پیش
والد
کامیت
928c6a6043
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      .pre-commit-hooks.yaml

+ 1 - 1
.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