ci: ignore sample env files in gitleaks
Gitleaks / gitleaks (push) Failing after 4s

This commit is contained in:
2026-06-01 20:41:48 -04:00
parent fed7565389
commit 339962a917
+4
View File
@@ -23,3 +23,7 @@ id = "private-key"
description = "Private key detected" description = "Private key detected"
regex = "-----BEGIN( RSA| EC| DSA)? PRIVATE KEY-----" regex = "-----BEGIN( RSA| EC| DSA)? PRIVATE KEY-----"
tags = ["key", "pem", "compose"] tags = ["key", "pem", "compose"]
[[allowlists]]
description = "Ignore example and sample env files"
paths = ['''.*\.env\.sample$''', '''.*\.env\.example$''', '''.*example.*''']