GeezerVison is showing github.com — docs: add use_github_token to example (#9120) · mattyryze/opencode@3aff88c
File tree
Expand file treeCollapse file tree
Open diff view settings
packages/web/src/content/docs
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: github/README.md +2Lines changed: 2 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -91,8 +91,10 @@ This will walk you through installing the GitHub app, creating the workflow, and |
91 | 91 | uses: anomalyco/opencode/github@latest |
92 | 92 | env: |
93 | 93 | ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} |
| 94 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
94 | 95 | with: |
95 | 96 | model: anthropic/claude-sonnet-4-20250514 |
| 97 | + use_github_token: true |
96 | 98 | ``` |
97 | 99 |
|
98 | 100 | 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. |
|
Collapse file
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/github.mdx +2Lines changed: 2 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -180,8 +180,10 @@ jobs: |
180 | 180 | - uses: anomalyco/opencode/github@latest |
181 | 181 | env: |
182 | 182 | ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} |
| 183 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
183 | 184 | with: |
184 | 185 | model: anthropic/claude-sonnet-4-20250514 |
| 186 | + use_github_token: true |
185 | 187 | prompt: | |
186 | 188 | Review this pull request: |
187 | 189 | - Check for code quality issues |
|