Commit 1c1ed94
ci(publish): unset GH-Actions OIDC env on test step
`id-token: write` causes GitHub Actions to inject
ACTIONS_ID_TOKEN_REQUEST_URL / _TOKEN. The CLI's `deploy apply` detects
those vars as "running in CI" and tries to exchange them for a Run402
session via `githubActionsCredentials()`, which calls a real endpoint
not handled by the e2e mockFetch. Unset on the test step only so the
publish steps below can still mint the OIDC token for npm Trusted
Publisher. (The existing .github/workflows/test.yml doesn't have
id-token: write, which is why this never surfaced there.)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5baafcc commit 1c1ed94
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
124 | 134 | | |
125 | 135 | | |
126 | 136 | | |
| |||
0 commit comments