From ce1291cf9e1a6cdb3878f846bd092211099dae0d Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Sat, 17 Jan 2026 19:18:54 +0000 Subject: [PATCH 1/2] Added use_github_token to README example Co-authored-by: rekram1-node --- github/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/github/README.md b/github/README.md index 8238bdc42aa0..17b24ffb1d6e 100644 --- a/github/README.md +++ b/github/README.md @@ -91,8 +91,10 @@ This will walk you through installing the GitHub app, creating the workflow, and uses: anomalyco/opencode/github@latest env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: model: anthropic/claude-sonnet-4-20250514 + use_github_token: true ``` 3. Store the API keys in secrets. In your organization or project **settings**, expand **Secrets and variables** on the left and select **Actions**. Add the required API keys. From 5141a1c5ea13e74a80e7bb22cd087488d37ecf2a Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" Date: Sat, 17 Jan 2026 19:34:13 +0000 Subject: [PATCH 2/2] Add GITHUB_TOKEN to docs PR example Co-authored-by: rekram1-node --- packages/web/src/content/docs/github.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/web/src/content/docs/github.mdx b/packages/web/src/content/docs/github.mdx index 6e8b9de4d79b..a31fe1e7be82 100644 --- a/packages/web/src/content/docs/github.mdx +++ b/packages/web/src/content/docs/github.mdx @@ -180,8 +180,10 @@ jobs: - uses: anomalyco/opencode/github@latest env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: model: anthropic/claude-sonnet-4-20250514 + use_github_token: true prompt: | Review this pull request: - Check for code quality issues