mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-03-19 19:02:42 +00:00
chore(security): fix allowlist key name and tighten path patterns in .gitleaks.toml
Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>
This commit is contained in:
@@ -5,10 +5,9 @@ useDefault = true
|
|||||||
|
|
||||||
# Allowlist for test files and fixtures that intentionally contain placeholder tokens.
|
# Allowlist for test files and fixtures that intentionally contain placeholder tokens.
|
||||||
# These are not real secrets and are used only for testing purposes.
|
# These are not real secrets and are used only for testing purposes.
|
||||||
[[allowlists]]
|
[allowlist]
|
||||||
description = "Test fixture files containing placeholder tokens"
|
description = "Test fixture files containing placeholder tokens"
|
||||||
paths = [
|
paths = [
|
||||||
'''testutil/test_constants\.go''',
|
'''^testutil/test_constants\.go$''',
|
||||||
'''.*_test\.go''',
|
'''^testdata/''',
|
||||||
'''testdata/.*''',
|
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user