2026-05-11 11:18:49 +02:00
|
|
|
name: "opencode Forgejo Action"
|
|
|
|
|
description: "Run opencode in Forgejo Actions workflows"
|
|
|
|
|
branding:
|
|
|
|
|
icon: "code"
|
|
|
|
|
color: "blue"
|
|
|
|
|
|
|
|
|
|
inputs:
|
|
|
|
|
model:
|
|
|
|
|
description: "Model to use (format: provider/model)"
|
|
|
|
|
required: true
|
|
|
|
|
|
|
|
|
|
agent:
|
|
|
|
|
description: "Agent to use. Must be a primary agent."
|
|
|
|
|
required: false
|
|
|
|
|
|
|
|
|
|
share:
|
|
|
|
|
description: "Share the opencode session (defaults to true for public repos)"
|
|
|
|
|
required: false
|
|
|
|
|
|
|
|
|
|
prompt:
|
|
|
|
|
description: "Custom prompt to override the default prompt"
|
|
|
|
|
required: false
|
|
|
|
|
|
|
|
|
|
forgejo_api_url:
|
|
|
|
|
description: "Forgejo instance API URL (e.g., https://forgejo.example.com)"
|
|
|
|
|
required: false
|
2026-05-11 14:47:42 +02:00
|
|
|
default: "https://bitfreedom.net/code/"
|
2026-05-11 11:18:49 +02:00
|
|
|
|
|
|
|
|
forgejo_token:
|
|
|
|
|
description: "Forgejo PAT with repo scope (contents, pull-requests, issues)"
|
|
|
|
|
required: false
|
|
|
|
|
|
|
|
|
|
mentions:
|
|
|
|
|
description: "Comma-separated list of trigger phrases. Defaults to '/opencode,/oc'"
|
|
|
|
|
required: false
|
|
|
|
|
default: "/opencode,/oc"
|
|
|
|
|
|
|
|
|
|
variant:
|
|
|
|
|
description: "Model variant for provider-specific reasoning effort (e.g., high, max, minimal)"
|
|
|
|
|
required: false
|
|
|
|
|
|
2026-05-11 13:09:04 +02:00
|
|
|
nomyo_api_key:
|
|
|
|
|
description: "Nomyo API key"
|
|
|
|
|
required: true
|
|
|
|
|
|
2026-05-11 11:18:49 +02:00
|
|
|
nomyo_api_url:
|
|
|
|
|
description: "Nomyo API base URL. Defaults to https://chat.nomyo.ai/api"
|
|
|
|
|
required: false
|
|
|
|
|
default: "https://chat.nomyo.ai/api"
|
|
|
|
|
|
|
|
|
|
runs:
|
|
|
|
|
using: "node20"
|
|
|
|
|
main: "dist/index.mjs"
|