chore: ggshield pre-commit hook to refuse hardcoded secrets

This commit is contained in:
Fguarien 2026-04-25 20:40:20 +02:00
parent 36817ba4ff
commit 310e9418f9

9
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,9 @@
# Run before every git commit to refuse hardcoded secrets.
# Bypass with `git commit --no-verify` only when you really know what you do.
repos:
- repo: https://github.com/gitguardian/ggshield
rev: v1.49.0
hooks:
- id: ggshield
language_version: python3
stages: [pre-commit]