Skip to content

Commit

Permalink
chore: install secret detection on pre-commit hooks
Browse files Browse the repository at this point in the history
Primary Changes
----------------
1. Installed gitleaks for secret detection.
2. This pre-commit checker detects any secrets
or crypto so that it doesn't get pushed to
the github repo.

Fixes #2290
  • Loading branch information
zondervancalvez committed Oct 29, 2024
1 parent 620c93d commit b746d1c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.1
hooks:
- id: gitleaks

0 comments on commit b746d1c

Please sign in to comment.