From 928c6a60431ebca70dea10d4792ebfd56b9e9686 Mon Sep 17 00:00:00 2001 From: Ben Randall Date: Fri, 3 Dec 2021 14:09:05 -0800 Subject: [PATCH] Update pre-commit step to run gitleaks checks (#729) * Fix pre-commit config. * Debug output * No debug and use redacted. * Typo * Add back staged. * Update .pre-commit-hooks.yaml * Update .pre-commit-hooks.yaml --- .pre-commit-hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index f2db04c8..021f73ab 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,6 +1,6 @@ - id: gitleaks name: Detect hardcoded secrets description: Detect hardcoded secrets using Gitleaks - entry: gitleaks + entry: gitleaks protect --verbose --redact --staged language: golang pass_filenames: false