Add .env.local to gitignore and gitleaks pre-commit hook (#754)

Prevent future secret leaks by ignoring .env.local files and adding
gitleaks secret scanning to the pre-commit pipeline.
This commit is contained in:
Adil Hafeez 2026-02-13 15:51:08 -08:00 committed by GitHub
parent ba651aaf71
commit 94f804991e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -30,6 +30,11 @@ repos:
entry: bash -c "cd crates && cargo test --lib"
pass_filenames: false
- repo: https://github.com/gitleaks/gitleaks
rev: v8.21.2
hooks:
- id: gitleaks
- repo: https://github.com/psf/black
rev: 23.1.0
hooks: