The open source coding agent.
TypeScript
docs: add use_github_token to example (#9120)
opencode-agent[bot]3aff88c23d13
diff --git a/github/README.md b/github/README.mdindex 8238bdc42aa..17b24ffb1d6 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, anduses: anomalyco/opencode/github@latestenv: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.diff --git a/packages/web/src/content/docs/github.mdx b/packages/web/src/content/docs/github.mdxindex 6e8b9de4d79..a31fe1e7be8 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@latestenv:ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:model: anthropic/claude-sonnet-4-20250514+ use_github_token: trueprompt: |Review this pull request:- Check for code quality issues