Skip to content

Commit

Permalink
feat: add gitleaks
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenschneider committed May 25, 2024
1 parent ab340f8 commit aec78b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,10 @@
entry: hooks/pylint.sh
language: script
files: \.py$

- id: "gitleaks"
name: "Detect hardcoded secrets"
description: "Detect hardcoded secrets using Gitleaks"
entry: "gitleaks protect --verbose --redact --staged"
language: "script"
pass_filenames: false

0 comments on commit aec78b6

Please sign in to comment.