diff options
| author | opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com> | 2026-01-17 13:36:54 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-17 13:36:54 -0600 |
| commit | 3aff88c23d139f47af7f4db7bbc14e08a30f3b6e (patch) | |
| tree | 419e85d8e69f584e91a8a91a8480fec422d39365 /github | |
| parent | 58f7da6e9f8fb08a9f42a0d2cc34a18b2475ddea (diff) | |
| download | opencode-3aff88c23d139f47af7f4db7bbc14e08a30f3b6e.tar.gz opencode-3aff88c23d139f47af7f4db7bbc14e08a30f3b6e.zip | |
docs: add use_github_token to example (#9120)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <[email protected]>
Diffstat (limited to 'github')
| -rw-r--r-- | github/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/github/README.md b/github/README.md index 8238bdc42..17b24ffb1 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. |
