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