Skip to content

Commit

Permalink
Add secrets check as part of pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
karan6181 committed Jun 26, 2023
1 parent 73f596e commit ba5672d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,12 @@ repos:
pass_filenames: false
args: [--warnings]
additional_dependencies: ["[email protected]"]
- repo: https://github.com/trufflesecurity/trufflehog.git
rev: v3.40.0
hooks:
- id: trufflehog
name: secret scan
entry: trufflehog filesystem ./
args:
- --only-verified
- --fail

0 comments on commit ba5672d

Please sign in to comment.