Repository navigation
Commit 05b9fe1
ci: drop persisted checkout credentials and the publish job's cache
zizmor flagged both. actions/checkout leaves the job token in .git/config,
where every dependency install script in the job can read it; no job here
pushes, so set persist-credentials: false on every checkout.
The publish job holds id-token: write, so install there from the registry
rather than from a pnpm store another run cached. setup-node caches by
default once package.json names a packageManager, so removing
`cache: pnpm` alone would keep the cache; set package-manager-cache: false.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 2f18657 commit 05b9fe1
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
45 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| 68 | + | |
| 69 | + | |
62 | 70 | | |
63 | 71 | | |
64 | 72 | | |
| |||
0 commit comments