Added detect-secrets hook

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2024-05-20 11:16:37 -04:00
parent 2db920b0f4
commit ff9c8678bb
3 changed files with 26 additions and 1 deletions

View File

@@ -20,3 +20,8 @@ repos:
- id: detect-private-key
- id: end-of-file-fixer
- id: mixed-line-ending
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ['--baseline', '.secrets.baseline']