You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Apart from Anthropic, the Opencode github actons does not specify it supports other platforms like OPENCODE_API_KEY #58096
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
[FEATURE]: Apart from Anthropic, the Opencode github actons does not specify it supports other platforms like OPENCODE_API_KEY. We could add more support or is it already included. If so, and I want to use opencode, how should i setup my .github/workflows/
Thanks for raising this! You're asking for the GitHub Action docs to cover providers other than Anthropic, such as OpenCode Zen with OPENCODE_API_KEY.
The action already works with other providers. It doesn't depend on any one of them: you choose the model with the model input (provider/model), and you pass that provider's API key through env. For OpenCode Zen, the step in .github/workflows/opencode.yml would look like this:
- name: Run OpenCodeuses: anomalyco/opencode/github@latestenv:
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}with:
model: opencode/<model-id> # a model available on Zen
The rest of the workflow (triggers, permissions: id-token: write, checkout) stays the same as in the GitHub docs. Add OPENCODE_API_KEY under Settings → Secrets and variables → Actions. Other providers work the same way, using their usual environment variables (for example OPENAI_API_KEY with openai/...); see the providers docs for the names.
You're right that the GitHub docs only show the Anthropic example. Maintainers will consider adding examples for other providers.
Thanks for raising this! We no longer support the OpenCode GitHub Action, and it was removed from this repo in #59032, so we won't be expanding its docs or provider support. Workflows that already pin a tag such as anomalyco/opencode/github@latest keep working, but the action won't get updates. Closing this issue.
Activity
opencode-agent commentedon Oct 22, 2026
Thanks for raising this! You're asking for the GitHub Action docs to cover providers other than Anthropic, such as OpenCode Zen with
OPENCODE_API_KEY.The action already works with other providers. It doesn't depend on any one of them: you choose the model with the
modelinput (provider/model), and you pass that provider's API key throughenv. For OpenCode Zen, the step in.github/workflows/opencode.ymlwould look like this:The rest of the workflow (triggers,
permissions: id-token: write, checkout) stays the same as in the GitHub docs. AddOPENCODE_API_KEYunder Settings → Secrets and variables → Actions. Other providers work the same way, using their usual environment variables (for exampleOPENAI_API_KEYwithopenai/...); see the providers docs for the names.You're right that the GitHub docs only show the Anthropic example. Maintainers will consider adding examples for other providers.
Related issues:
OPENCODE_API_KEYis read from the environmentOPENCODE_API_KEYauthentication failing silently in CI, worth checking if you hit auth problemsTarquinen commentedon Oct 27, 2026
Thanks for raising this! We no longer support the OpenCode GitHub Action, and it was removed from this repo in #59032, so we won't be expanding its docs or provider support. Workflows that already pin a tag such as
anomalyco/opencode/github@latestkeep working, but the action won't get updates. Closing this issue.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊