mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
add optional prompt Input to Github Action (#4828)
Co-authored-by: Github Action <action@github.com> Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
This commit is contained in:
parent
a32cf70d7e
commit
7f86fe3f61
3 changed files with 30 additions and 0 deletions
|
|
@ -13,6 +13,10 @@ inputs:
|
|||
description: "Share the opencode session (defaults to true for public repos)"
|
||||
required: false
|
||||
|
||||
prompt:
|
||||
description: "Custom prompt to override the default prompt"
|
||||
required: false
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
|
@ -27,3 +31,4 @@ runs:
|
|||
env:
|
||||
MODEL: ${{ inputs.model }}
|
||||
SHARE: ${{ inputs.share }}
|
||||
PROMPT: ${{ inputs.prompt }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue