xlionjuan/opencode GitHub Action - Pinned version forks
Run opencode in GitHub Actions workflows with pinned, verified releases
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| model | Model to use | yes | — |
| agent | Agent to use. Must be a primary agent. Falls back to default_agent from config or 'build' if not found. | no | — |
| share | Share the opencode session (defaults to true for public repos) | no | — |
| prompt | Custom prompt to override the default prompt | no | — |
| use_github_token | Use GITHUB_TOKEN directly instead of OpenCode App token exchange. When true, skips OIDC and uses the GITHUB_TOKEN env var. | no | false |
| mentions | Comma-separated list of trigger phrases (case-insensitive). Defaults to '/opencode,/oc' | no | — |
| variant | Model variant for provider-specific reasoning effort (e.g., high, max, minimal) | no | — |
| oidc_base_url | Base URL for OIDC token exchange API. Only required when running a custom GitHub App install. Defaults to https://api.opencode.ai | no | — |
| MOCK_TEST | If true, skip github run mode and execute opencode run with PROMPT directly. | no | false |
Outputs
no outputs