mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
github: support GITHUB_TOKEN + skip OIDC (#5459)
This commit is contained in:
parent
b6856bd593
commit
613e082358
2 changed files with 34 additions and 5 deletions
|
|
@ -17,6 +17,11 @@ inputs:
|
|||
description: "Custom prompt to override the default prompt"
|
||||
required: false
|
||||
|
||||
use_github_token:
|
||||
description: "Use GITHUB_TOKEN directly instead of OpenCode App token exchange. When true, skips OIDC and uses the GITHUB_TOKEN env var."
|
||||
required: false
|
||||
default: "false"
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
|
@ -51,3 +56,4 @@ runs:
|
|||
MODEL: ${{ inputs.model }}
|
||||
SHARE: ${{ inputs.share }}
|
||||
PROMPT: ${{ inputs.prompt }}
|
||||
USE_GITHUB_TOKEN: ${{ inputs.use_github_token }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue