From 4164f9a8e44ec2417a73e6bcb7b1c085055dc218 Mon Sep 17 00:00:00 2001 From: Jack Hickey <133868041+nginx-jack@users.noreply.github.com> Date: Thu, 15 May 2025 11:09:55 +0100 Subject: [PATCH] Precommit: Add gitleaks scanning to precommit --- .pre-commit-config.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 56919c9..56aa115 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,8 +6,14 @@ repos: entry: scripts/lint-commit.sh stages: [ commit-msg ] language: system + - id: run-biome name: Check for linting and formatting for source code using Biome entry: scripts/run-biome.sh stages: [ pre-commit ] - language: system \ No newline at end of file + language: system + + - repo: https://github.com/gitleaks/gitleaks + rev: v8.26.0 + hooks: + - id: gitleaks