Explorar o código

add pre-commit hook gitleaks-system (#1225)

Christian Groschupp %!s(int64=2) %!d(string=hai) anos
pai
achega
a59289ca9b
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      .pre-commit-hooks.yaml

+ 5 - 0
.pre-commit-hooks.yaml

@@ -9,3 +9,8 @@
   description: Detect hardcoded secrets using Gitleaks
   entry: zricethezav/gitleaks protect --verbose --redact --staged
   language: docker_image
+- id: gitleaks-system
+  name: Detect hardcoded secrets
+  description: Detect hardcoded secrets using Gitleaks
+  entry: gitleaks protect --verbose --redact --staged
+  language: system