fix: allowlist — add regexTarget=match for global allowlist; allow Python private fn on RHS

This commit is contained in:
pyr0ball 2026-04-02 23:40:26 -07:00
parent 56b4cf010f
commit 481ad4b43e

View file

@ -61,4 +61,7 @@ regexes = [
'sk-abcdefghijklmnopqrstuvwxyz',
'your-forgejo-api-token-here',
'your-[a-z\-]+-here',
# Python private function/variable on RHS — token = _some_func() is not a secret
'=\s+_[a-z_]{10,}',
]
regexTarget = "match"