Skip to content

Commit e748e2f

Browse files
committed
fix(ci): bypass broken OIDC exchange in opencode action
Use GITHUB_TOKEN directly via use_github_token: true to work around anomalyco/opencode#37823 — the action's OIDC token exchange fails on repos created after 2026-07-15 due to GitHub's immutable subject claim format change.
1 parent 15dabec commit e748e2f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/opencode.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,7 @@ jobs:
2929
uses: anomalyco/opencode/github@latest
3030
env:
3131
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3233
with:
33-
model: opencode-go/glm-5.2
34+
model: opencode-go/glm-5.2
35+
use_github_token: true

0 commit comments

Comments
 (0)