mirror of
https://github.com/ivuorinen/actions.git
synced 2026-03-04 02:54:26 +00:00
feat: add GitHub Actions workflows for code quality and automation (#2)
This commit is contained in:
21
.gitleaks.toml
Normal file
21
.gitleaks.toml
Normal file
@@ -0,0 +1,21 @@
|
||||
[allowlist]
|
||||
description = "Allowlisted files"
|
||||
paths = [
|
||||
'''node_modules''',
|
||||
'''.git''',
|
||||
'''dist''',
|
||||
'''yarn.lock''',
|
||||
'''package-lock.json''',
|
||||
'''pnpm-lock.yaml'''
|
||||
]
|
||||
|
||||
[rules]
|
||||
[rules.github-token]
|
||||
description = "GitHub Token"
|
||||
regex = '''ghp_[0-9a-zA-Z]{36}'''
|
||||
tags = ["token", "github"]
|
||||
|
||||
[rules.secrets]
|
||||
description = "Generic Secret Pattern"
|
||||
regex = '''(?i)(secret|token|key|password|cert)[\s]*[=:]\s*['"][^'"]*['"]'''
|
||||
tags = ["key", "secret"]
|
||||
Reference in New Issue
Block a user