Commit 51c25b5
linkcheck: harden release-asset download (Copilot review)
- add contents:read so the gh api releases call works under a restrictive
permissions block
- set -euo pipefail; select a single .tar.gz asset and fail with a clear
error when none is found
- curl -fsSL so an HTTP error page fails the step instead of being piped
into tar
Keeps QuantEcon/action-link-checker@main (first-party org action; matches
the reference in lecture-python-programming).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent fdb9e16 commit 51c25b5
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
20 | 22 | | |
21 | | - | |
22 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
| 31 | + | |
25 | 32 | | |
26 | | - | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
0 commit comments