Commit 2074dfc
committed
fix(ci): propagate id-token: write to publish job in release.yml
release.yml calls publish.yml via workflow_call with only
`contents: read` permission. Without `id-token: write` at the caller
job level, the OIDC env vars (ACTIONS_ID_TOKEN_REQUEST_URL/TOKEN) are
not available inside the reusable workflow — so npm publish falls
through to 'requires you to be logged in', even though publish.yml
itself declares id-token: write.
Direct workflow_dispatch of publish.yml worked (no caller job to
filter permissions); release.yml -> publish.yml did not.1 parent 0173f38 commit 2074dfc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
0 commit comments