Skip to content

[FEATURE]: Apart from Anthropic, the Opencode github actons does not specify it supports other platforms like OPENCODE_API_KEY #58096

Closed as not planned

Description

@zzz-creator

Feature hasn't been suggested before.

  • 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/

Activity

  1. opencode-agent commented on Oct 22, 2026

    @opencode-agent
    Contributor

    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 OpenCode
            uses: anomalyco/opencode/github@latest
            env:
              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.

    Related issues:

  2. Tarquinen commented on Oct 27, 2026

    @Tarquinen
    Member

    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.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions