From f30de92caa19dd99a5c626cd5363727e446ed402 Mon Sep 17 00:00:00 2001 From: dmor Date: Thu, 19 Mar 2026 15:14:50 +0200 Subject: [PATCH] Add gitleaks pre-commit hook for secret detection Adds gitleaks to .pre-commit-config.yaml to catch secrets before they are committed. Part of the org-wide rollout (infra#20, infra#43). Developers need to run 'pre-commit install' after pulling this change. --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..cc8dbcb --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,5 @@ +repos: + - repo: https://github.com/gitleaks/gitleaks + rev: v8.30.0 + hooks: + - id: gitleaks