From 339962a917a96b65ea0e3aea28de1790b2e51150 Mon Sep 17 00:00:00 2001 From: Charles Danesi Date: Mon, 1 Jun 2026 20:41:48 -0400 Subject: [PATCH] ci: ignore sample env files in gitleaks --- .gitleaks.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitleaks.toml b/.gitleaks.toml index 474a933..89a038d 100644 --- a/.gitleaks.toml +++ b/.gitleaks.toml @@ -23,3 +23,7 @@ id = "private-key" description = "Private key detected" regex = "-----BEGIN( RSA| EC| DSA)? PRIVATE KEY-----" tags = ["key", "pem", "compose"] + +[[allowlists]] +description = "Ignore example and sample env files" +paths = ['''.*\.env\.sample$''', '''.*\.env\.example$''', '''.*example.*''']