diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 276d141b0d..ce237eaf98 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,3 +32,9 @@ repos: name: run codespell description: Check spelling with codespell args: [--ignore-words=.github/linters/codespell.txt] + - repo: https://github.com/gitleaks/gitleaks + rev: v8.28.0 + hooks: + - id: gitleaks + name: run gitleaks + description: check for secrets with gitleaks