mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
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:
parent
ba651aaf71
commit
94f804991e
2 changed files with 7 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue