Browse Source

NEW Add gitleaks into pre-commit

Laurent Destailleur 9 months ago
parent
commit
e9212f127c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .pre-commit-config.yaml

+ 6 - 0
.pre-commit-config.yaml

@@ -26,6 +26,12 @@ repos:
       - id: fix-byte-order-marker
       - id: check-case-conflict
 
+  # Beautify shell scripts
+  - repo: https://github.com/gitleaks/gitleaks.git
+    rev: v8.16.1
+    hooks:
+      - id: gitleaks
+
   # Beautify shell scripts
   - repo: https://github.com/lovesegfault/beautysh.git
     rev: v6.2.1