allowlist_global_target_rules.toml 374 B

1234567891011121314151617181920
  1. [[rules]]
  2. id = "github-app-token"
  3. regex = '''(?:ghu|ghs)_[0-9a-zA-Z]{36}'''
  4. [[rules]]
  5. id = "github-oauth"
  6. regex = '''gho_[0-9a-zA-Z]{36}'''
  7. [[rules]]
  8. id = "github-pat"
  9. regex = '''ghp_[0-9a-zA-Z]{36}'''
  10. [[allowlists]]
  11. regexes = ['''.*fake.*''']
  12. [[allowlists]]
  13. targetRules = ["github-app-token", "github-pat"]
  14. paths = [
  15. '''(?:^|/)@octokit/auth-token/README\.md$''',
  16. ]