Skip to content

ci: add gitleaks secret scan (Phase 0.3) - #32

Merged
nstranquist merged 2 commits into
mainfrom
cursor/gitleaks-ci-ae81
Nov 3, 2026
Merged

nstranquist merged 2 commits into
mainfrom
cursor/gitleaks-ci-ae81

Conversation

@nstranquist

@nstranquist nstranquist commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Change

Add a dedicated gitleaks workflow so every push to main and every pull request is secret-scanned, including docs-only changes. Manual workflow_dispatch runs a separate full-history job.

Point the existing vuln job at Go 1.26.10. That toolchain includes the stdlib fixes govulncheck reports against 1.26.6 (GO-2026-6611/6612/6613/6617/6603/6607/6608 in 1.26.9, GO-2026-6809 in 1.26.10). The module, README, and test matrix stay on the Go 1.24 floor.

Proof

  • I ran make verify.
  • I ran make docs-site when documentation changed.
  • I added or updated direct tests.
  • I reviewed the diff for secrets, private catalog data, and local paths.

No product code changed. make verify and make docs-site were not run.

Local gitleaks 8.30.1 on full history reported no leaks, so there is no .gitleaks.toml or .gitleaksignore.

Boundaries

No API, schema, or privacy change.

  • Own workflow .github/workflows/gitleaks.yml. Not folded into ci.yml. No paths-ignore.
  • Permissions: contents: read and pull-requests: read only.
  • actions/checkout pinned to 3d3c42e5aac5ba805825da76410c181273ba90b1 (v7.0.1) with fetch-depth: 0.
  • gitleaks/gitleaks-action pinned to e0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e (v3.0.0).
  • GITLEAKS_VERSION is 8.30.1. Comments and SARIF artifact upload are off.
  • Job gitleaks runs unless the event is workflow_dispatch. Job gitleaks-full-history runs on workflow_dispatch only.
  • vuln uses go-version: "1.26.10" so the scan toolchain is patched while go.mod stays at 1.24.
  • No pre-commit hooks. No secret-string allowlist.

Do not merge from this change.

Open in Web Open in Cursor 

cursoragent and others added 2 commits November 3, 2026 00:37
Run gitleaks-action v3.0.0 with gitleaks 8.30.1 on push and pull
requests, and keep a full-history job for manual dispatch only.

Co-authored-by: Nico S <nstranquist@gmail.com>
The vuln job's 1.26.6 toolchain still reports stdlib findings fixed in
1.26.9 and 1.26.10. Keep the module floor at Go 1.24.

Co-authored-by: Nico S <nstranquist@gmail.com>
@nstranquist
nstranquist merged commit ee2a3c8 into main Nov 3, 2026
27 checks passed
@nstranquist
nstranquist deleted the cursor/gitleaks-ci-ae81 branch November 3, 2026 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants