ci: allowlist Localazy public readKey + tools/localazy/
All checks were successful
gitleaks / scan (push) Successful in 57s
All checks were successful
gitleaks / scan (push) Successful in 57s
This commit is contained in:
parent
76f071c467
commit
4a5671d6d7
1 changed files with 5 additions and 1 deletions
|
|
@ -20,6 +20,8 @@ paths = [
|
|||
'''docs/.*''',
|
||||
'''.*/google-services\.json''',
|
||||
'''.*Test\.kt''',
|
||||
'''localazy\.json''',
|
||||
'''tools/localazy/.*''',
|
||||
]
|
||||
regexTarget = "line"
|
||||
regexes = [
|
||||
|
|
@ -27,8 +29,10 @@ regexes = [
|
|||
'''[a-zA-Z]*[Aa]piKey\s*=\s*"phc_[A-Za-z0-9_-]{20,}"''',
|
||||
# MapTiler / similar public client keys named API_KEY constant
|
||||
'''const\s+val\s+API_KEY\s*=\s*"''',
|
||||
# Segment write keys
|
||||
# Segment write keys (Kotlin style)
|
||||
'''readKey\s*=\s*"''',
|
||||
# Localazy / Segment readKey (JSON style)
|
||||
'''"readKey"\s*:\s*"''',
|
||||
# Matrix protocol KDoc examples (* prefix is the KDoc comment shape)
|
||||
'''^\s*\*\s*"user_signing_key"\s*:\s*"''',
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue