Skip to content

Support GitHub Enterprise Server#76

Open
rberrelleza wants to merge 1 commit intomainfrom
claude/amazing-moser
Open

Support GitHub Enterprise Server#76
rberrelleza wants to merge 1 commit intomainfrom
claude/amazing-moser

Conversation

@rberrelleza
Copy link
Member

@rberrelleza rberrelleza commented Mar 18, 2026

This is an experiment on what it would take to support GHE, not to be merged

Summary

  • Configure the Octokit client in notify-pr.sh to use the GITHUB_API_URL environment variable instead of hardcoding the GitHub.com API endpoint
  • GitHub Actions automatically sets GITHUB_API_URL for both GitHub.com (https://api.github.com) and GitHub Enterprise Server (https://<hostname>/api/v3), so no extra user configuration is required
  • entrypoint.sh already uses GITHUB_SERVER_URL which also works correctly for GHE

Test plan

🤖 Generated with Claude Code

Configure the Octokit client with the GITHUB_API_URL environment variable,
which GitHub Actions automatically sets for both GitHub.com and GitHub
Enterprise Server, enabling PR comment notifications to work on GHE.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rberrelleza rberrelleza marked this pull request as ready for review March 20, 2026 20:52
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.

1 participant