Repository navigation
ci: add gitleaks secret scan (Phase 0.3) - #32
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Add a dedicated gitleaks workflow so every push to
mainand every pull request is secret-scanned, including docs-only changes. Manualworkflow_dispatchruns a separate full-history job.Point the existing
vulnjob 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
make verify.make docs-sitewhen documentation changed.No product code changed.
make verifyandmake docs-sitewere not run.Local gitleaks 8.30.1 on full history reported no leaks, so there is no
.gitleaks.tomlor.gitleaksignore.Boundaries
No API, schema, or privacy change.
.github/workflows/gitleaks.yml. Not folded intoci.yml. Nopaths-ignore.contents: readandpull-requests: readonly.actions/checkoutpinned to3d3c42e5aac5ba805825da76410c181273ba90b1(v7.0.1) withfetch-depth: 0.gitleaks/gitleaks-actionpinned toe0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e(v3.0.0).GITLEAKS_VERSIONis8.30.1. Comments and SARIF artifact upload are off.gitleaksruns unless the event isworkflow_dispatch. Jobgitleaks-full-historyruns onworkflow_dispatchonly.vulnusesgo-version: "1.26.10"so the scan toolchain is patched whilego.modstays at 1.24.Do not merge from this change.