mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-03-18 16:02:19 +00:00
chore(security): add gitleaks config and update ignore list for test tokens (#195)
This commit is contained in:
13
.gitleaks.toml
Normal file
13
.gitleaks.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
title = "gh-action-readme gitleaks configuration"
|
||||
|
||||
[extend]
|
||||
useDefault = true
|
||||
|
||||
# Allowlist for test files and fixtures that intentionally contain placeholder tokens.
|
||||
# These are not real secrets and are used only for testing purposes.
|
||||
[allowlist]
|
||||
description = "Test fixture files containing placeholder tokens"
|
||||
paths = [
|
||||
'''^testutil/test_constants\.go$''',
|
||||
'''^testdata/''',
|
||||
]
|
||||
Reference in New Issue
Block a user