mirror of
https://github.com/ivuorinen/gh-action-readme.git
synced 2026-02-25 11:53:44 +00:00
fix(security): correct .gitleaksignore
This commit is contained in:
@@ -1,25 +1,9 @@
|
|||||||
# Gitleaks ignore patterns
|
# Gitleaks ignore patterns
|
||||||
# https://github.com/gitleaks/gitleaks
|
# https://github.com/gitleaks/gitleaks
|
||||||
|
|
||||||
# Ignore test files with dummy secrets
|
f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:generic-api-key:195
|
||||||
*/testdata/*
|
f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:generic-api-key:197
|
||||||
*/test/*
|
f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:generic-api-key:198
|
||||||
*_test.go
|
f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:generic-api-key:199
|
||||||
|
f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:generic-api-key:200
|
||||||
# Ignore example configurations
|
f9823eef3ec602b92ab4f17b3b4b93b2f219fb6a:internal/wizard/validator_test.go:github-pat:195
|
||||||
*/examples/*
|
|
||||||
*/docs/*
|
|
||||||
|
|
||||||
# Common false positives
|
|
||||||
# Generic test tokens
|
|
||||||
test_token_*
|
|
||||||
dummy_*
|
|
||||||
fake_*
|
|
||||||
example_*
|
|
||||||
|
|
||||||
# GitHub Actions test tokens
|
|
||||||
GITHUB_TOKEN=fake_token
|
|
||||||
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
# Ignore specific lines (use commit:file:line format)
|
|
||||||
# abc123:path/to/file.go:42
|
|
||||||
|
|||||||
Reference in New Issue
Block a user