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 22, 2023
1 parent 38361a6 commit 58595f4
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 @@ -89,3 +89,12 @@ repos:
entry: yamllint
language: python
types: [file, yaml]
- 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 58595f4

Please sign in to comment.