forgejo-mcp/.pre-commit-config.yaml
Christoph Görn b936f8ab20
ci: 🚀 add gitleaks scanning (Tekton + pre-commit)
- .tekton/code-scans.yaml — runs gitleaks v8.30.1 on push and PR to main
- .pre-commit-config.yaml — local pre-commit hook (gitleaks v8.30.1)
- .gitleaks.toml — extends defaults; YAML allowlist mirrors b4mad
  config; commit allowlist for three historical commits with already-
  rotated credentials so the pipeline starts green.

Adapted from b4mad/op1st-emea-b4mad reference configs.
2026-05-12 13:08:14 +02:00

5 lines
103 B
YAML

repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.1
hooks:
- id: gitleaks