From 613e082358d2f8cd589ace285248017ba73e9e94 Mon Sep 17 00:00:00 2001 From: Matt Silverlock Date: Fri, 12 Dec 2025 20:55:46 -0500 Subject: github: support GITHUB_TOKEN + skip OIDC (#5459) --- github/action.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'github/action.yml') diff --git a/github/action.yml b/github/action.yml index f52f14d80..fe6a32206 100644 --- a/github/action.yml +++ b/github/action.yml @@ -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 }} -- cgit v1.2.3