Skip to content

Commit 92f4cfb

Browse files
committed
fix: correct gitleaks config allowlist format
1 parent c59a314 commit 92f4cfb

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

‎.gitleaks.toml‎

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ title = "Stellar Bounty Board gitleaks config"
44
# doesn't fail on expected fixtures and docs. Keep this minimal — if you
55
# intentionally commit a real secret, the action should fail.
66

7-
[[allowlist]]
8-
description = "Env example placeholders"
9-
regex = '''your_github_webhook_secret_here|example|EXAMPLE|dummy'''
10-
11-
[[allowlist]]
12-
description = "Test fixtures and docs (non-secret examples)"
13-
paths = ["test/**", "docs/**", "**/*.md", "backend/worker/**"]
7+
[allowlist]
8+
description = "Global allow list for tests, docs, and placeholders"
9+
regexes = ['''your_github_webhook_secret_here|example|EXAMPLE|dummy''']
10+
paths = [
11+
"test/**",
12+
"docs/**",
13+
"**/*.md",
14+
"backend/worker/**"
15+
]

0 commit comments

Comments
 (0)