fix: use project gitleaks config in CI, relax rules for documentation examples

This commit is contained in:
2026-03-18 12:48:05 +00:00
parent 54a08153f1
commit e6043a6e2f

View File

@@ -53,7 +53,7 @@ jobs:
run: | run: |
curl -sL https://github.com/gitleaks/gitleaks/releases/download/v8.21.2/gitleaks_8.21.2_linux_x64.tar.gz \ curl -sL https://github.com/gitleaks/gitleaks/releases/download/v8.21.2/gitleaks_8.21.2_linux_x64.tar.gz \
| tar xz -C /usr/local/bin gitleaks | tar xz -C /usr/local/bin gitleaks
gitleaks detect --source . --exit-code 1 --report-format sarif --report-path gitleaks.sarif gitleaks detect --source . --config .gitleaks.toml --exit-code 1 --report-format sarif --report-path gitleaks.sarif
# ── CVE in Rust dependencies ──────────────────────────────────────────── # ── CVE in Rust dependencies ────────────────────────────────────────────
- name: Install cargo-audit - name: Install cargo-audit