anomalyco / anomalyco/opencode
GitHub Action ignores GHES API endpoint variables
Open
@rekram1-node is already working on this.
Since Jul 31, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
The GitHub Action creates its REST and GraphQL clients with GitHub.com defaults even when GitHub Actions provides GITHUB_API_URL and GITHUB_GRAPHQL_URL on GHES. REST requests can therefore target GitHub.com, while deriving GraphQL from the REST endpoint would also use the wrong GHES path.
Plugins
None
OpenCode version
Current dev branch
Steps to reproduce
- Run the GitHub Action on GHES with
GITHUB_API_URLending in/api/v3andGITHUB_GRAPHQL_URLending in/api/graphql. - Trigger a code path that makes REST and GraphQL requests.
- Observe that the clients do not use those endpoints.
Screenshot and/or share link
Not applicable
Operating System
GitHub Actions runner
Terminal
Not applicable
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.