Repository navigation
Commit ddc1603
committed
fix: bypass OIDC token exchange (anomalyco/opencode#37823)
Repos created after 2026-07-15 receive GitHub's new immutable OIDC subject
claim format. The opencode GitHub action fails to parse owner/repo from
the new claim, gets a 404 from the App-token exchange (which returns non-
JSON), and dies with 'Failed to parse JSON'.
Workaround: set use_github_token=true to use GITHUB_TOKEN directly, skipping
the broken OIDC -> opencode.ai/exchange_github_app_token flow.1 parent 31d5f0f commit ddc1603
1 file changed
Lines changed: 6 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 | + | |
0 commit comments