Skip to content

Commit

Permalink
Add secrets check as part of pre-commit (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
karan6181 committed Jun 26, 2023
1 parent 73f596e commit eb98c27
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: ["pyright@1.1.256"]
- 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 eb98c27

Please sign in to comment.