-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make trufflehog pre-commit hook actually prevent committing
This commit does two things: 1. It prompts you to update the `pre-commit-config.yaml` file if an update is needed. I forgot that I might want to update it in the future, and didn't build this in. 2. Updates the `pre-commit-config` file to actually fail to commit if secrets are detected. This works well with the `git commit --verbose` diff that is coming next
- Loading branch information
Showing
1 changed file
with
57 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters