Commit 4e09b19
chore(docs): harden CI supply chain + update deps (closes #378 concern)
Addresses the npm supply-chain concern from #378 while staying on Astro:
- deploy CI uses `npm ci --ignore-scripts` to block install/postinstall and
binding.gyp/node-gyp attack vectors (Shai-Hulud class); build verified to
work without lifecycle scripts (sharp ships prebuilt binaries)
- least-privilege workflow token (permissions: contents: write only)
- add Dependabot: grouped, weekly, reviewed (no auto-merge) for site/ npm +
github-actions — turns the advisory stream into one deliberate PR
- update deps to latest released (astro 6.4.7; starlight/sharp already latest)
The site is fully static (no Node at runtime), so these close the practical
build-time risk without re-migrating. Verified: build green, 64 URLs covered,
GA + CNAME intact.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 8b3285c commit 4e09b19
4 files changed
Lines changed: 41 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | | - | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
0 commit comments