Commit 47f300f
ci(publish): use shell unset for GH-Actions OIDC env
`env: VAR: ""` only sets the var to empty string and keeps it defined
in the process env. GitHub appears to inject ACTIONS_ID_TOKEN_REQUEST_*
through a channel that bypasses step-level env overrides (the workflow
log showed our empty values but the runtime SDK still read non-empty
URLs and made the fetch call). Use shell `unset` which actually removes
the vars from the bash process env before npm test forks. Also unset
GITHUB_ACTIONS so `hasGithubActionsOidcEnv()` short-circuits to false
on the first check.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1c1ed94 commit 47f300f
1 file changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
0 commit comments