ci: add local pre-commit gitleaks hook #3
@ -20,9 +20,13 @@ paths = [
|
||||
'''(?i).*\.example\.(yml|yaml|env|json|toml)$''',
|
||||
'''(?i).*vault\.example\.(yml|yaml)$''',
|
||||
'''(?i).*\.env\.example$''',
|
||||
'''(?i)docs-site/docs/extractors/.*''',
|
||||
'''(?i)extractors/golangjobs/.*''',
|
||||
'''(?i)orchestrator/src/server/infra/product-analytics\.ts$''',
|
||||
]
|
||||
regexes = [
|
||||
'''(?i)(invalid|fake|dummy|placeholder|example|changeme|change_me|not-a-real)''',
|
||||
'''(?i)sk-or-invalid''',
|
||||
'''(?i)msk-or-invalid''',
|
||||
'''(?i)YOUR_API_KEY''',
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user