From 02cf4321ad630e5ab866250bdf25fbdca20223b6 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sat, 25 Oct 2025 15:24:27 +1000 Subject: [PATCH] pre-commit: add `gitleaks` to check for secrets --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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