fix(ci): retry the gitleaks download in Secret Scan (transient curl-56 blocks PRs)#12
Conversation
…6 blocks PRs) The Secret Scan workflow downloaded the pinned gitleaks binary with a bare `curl -sSfL` (no retry). A transient network blip (curl exit 56 — recv failure) on the GitHub-releases fetch fails the whole scan and BLOCKS the PR even though no secret exists. Adds --retry 5 --retry-delay 3 --retry-all-errors --connect-timeout 15; the SHA256 verification below is unchanged, so retrying is supply-chain-safe. Fleet propagation of KH#1351. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Cursor Composer-2.5 Review — Tier 1.5 (Copilot-outage second reviewer)
Verdict: APPROVE SummaryPR #12 is a one-line CI hardening change in FindingsNo blocking findings. Optional, low-severity notes (not required to merge):
Correctness
Security
Conventions (CLAUDE.md /
|
Fleet propagation of KH#1351. The Secret Scan gitleaks download used a bare
curl -sSfL(no retry) — a transient network blip (curl exit 56, recv failure) fails the whole scan and blocks the PR even though no secret exists (witnessed on crypto-tax-core#29). Adds--retry 5 --retry-delay 3 --retry-all-errors --connect-timeout 15. Thesha256sum -cverification is unchanged → supply-chain-safe.🤖 Generated with Claude Code