Skip to content

Conversation

@opencode-agent
Copy link
Contributor

The fix has been applied. The example now includes:

  1. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} in the env section
  2. use_github_token: true in the with section

This ensures users following the documentation will have a working configuration out of the box, matching what the issue reporter found necessary to make it work.

Closes #9118

New%20session%20-%202026-01-17T19%3A18%3A21.313Z
opencode session  |  github run

Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
@rekram1-node
Copy link
Collaborator

/oc update this too tho:
https://opencode.ai/docs/github/#pull-request-example

Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
@opencode-agent
Copy link
Contributor Author

Updated the Pull Request Example in the docs (packages/web/src/content/docs/github.mdx) to include:

  • GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} in the env section
  • use_github_token: true in the with section

This matches the changes made to the README, ensuring consistency across the documentation.

New%20session%20-%202026-01-17T19%3A33%3A45.940Z
opencode session  |  github run

@rekram1-node rekram1-node changed the title Added use_github_token to README example docs: add use_github_token to README example Jan 17, 2026
@rekram1-node rekram1-node changed the title docs: add use_github_token to README example docs: add use_github_token to example Jan 17, 2026
@rekram1-node rekram1-node merged commit 3aff88c into dev Jan 17, 2026
4 checks passed
justfortheloveof pushed a commit to justfortheloveof/opencode that referenced this pull request Jan 18, 2026
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
justfortheloveof pushed a commit to justfortheloveof/opencode that referenced this pull request Jan 18, 2026
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: undefined is not an object

2 participants