PR agent for Github enterprise server #8903

Open
opened 2026-02-16 18:11:07 -05:00 by yindo · 1 comment
Owner

Originally created by @asrarkp on GitHub (Feb 9, 2026).

Originally assigned to: @thdxr on GitHub.

Question

Hi Team ,

We are looking to integrate OpenCode for our pr-review on Github enterprise server . Upon going through https://opencode.ai/docs/github/ we dont see any option to connect to our own Github enterprise server and also leverage private models (azure hosted ) .

Can you guide us on this issue , how do we achieve the same ?

Upon setting the action workflow we are seeing below errors :

Run opencode github run
##[debug]/usr/bin/bash --noprofile --norc -e -o pipefail /appl/actions-runner1/_work/_temp/ecf2dea3-b3e5-400c-adb2-a0bc8c0c59bc.sh
Failed to get OIDC token: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
Could not fetch an OIDC token. Make sure to add `id-token: write` to your workflow permissions.
Creating comment...
Error: Unexpected error, check log file at /home/svc-account/.local/share/opencode/log/2026-02-09T095044.log for more details
Originally created by @asrarkp on GitHub (Feb 9, 2026). Originally assigned to: @thdxr on GitHub. ### Question Hi Team , We are looking to integrate OpenCode for our pr-review on Github enterprise server . Upon going through https://opencode.ai/docs/github/ we dont see any option to connect to our own Github enterprise server and also leverage private models (azure hosted ) . Can you guide us on this issue , how do we achieve the same ? Upon setting the action workflow we are seeing below errors : ``` Run opencode github run ##[debug]/usr/bin/bash --noprofile --norc -e -o pipefail /appl/actions-runner1/_work/_temp/ecf2dea3-b3e5-400c-adb2-a0bc8c0c59bc.sh Failed to get OIDC token: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable Could not fetch an OIDC token. Make sure to add `id-token: write` to your workflow permissions. Creating comment... Error: Unexpected error, check log file at /home/svc-account/.local/share/opencode/log/2026-02-09T095044.log for more details ```
yindo added the docs label 2026-02-16 18:11:07 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 9, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #11105: Anthropic models fail with 404 on GitHub Enterprise (GHE.com)
  • #3936: Github Enterprise authorization
  • #1687: Add support for running opencode github action without using the opencode-hosted github app

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 9, 2026): This issue might be a duplicate of existing issues. Please check: - #11105: Anthropic models fail with 404 on GitHub Enterprise (GHE.com) - #3936: Github Enterprise authorization - #1687: Add support for running opencode github action without using the opencode-hosted github app Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8903