diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d090e16..8613e0c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,3 +8,9 @@ repos: args: [--fix, --exit-non-zero-on-fix] # Run the formatter - id: ruff-format + +# Scan for secret files that should not be committed +- repo: https://github.com/gitleaks/gitleaks + rev: v8.30.0 + hooks: + - id: gitleaks