Commit fc4912a
committed
ci(security): retry gitleaks download to survive transient 5xx
The Install Gitleaks step piped curl directly into tar. A transient 504
from the GitHub release CDN truncated the stream and failed the security
gate with exit 2, despite no actual secrets. Download to a file with
curl --retry/--retry-all-errors first, then extract, so a flaky download
recovers instead of blocking the PR.1 parent ea554b5 commit fc4912a
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
0 commit comments