Skip to content

feat: add GitHub Enterprise (GHE) URL support#239

Open
TonyIn1401 wants to merge 1 commit intoericc-ch:masterfrom
TonyIn1401:feature/ghe-support
Open

feat: add GitHub Enterprise (GHE) URL support#239
TonyIn1401 wants to merge 1 commit intoericc-ch:masterfrom
TonyIn1401:feature/ghe-support

Conversation

@TonyIn1401
Copy link
Copy Markdown

Add support for custom GitHub Enterprise Server URLs via:

  • CLI flag: --github-url (available in both 'start' and 'auth' commands)
  • Environment variable: GITHUB_URL

When a GHE URL is provided (e.g., https://github.example.com):

  • GitHub API base URL becomes /api/v3
  • OAuth device code flow uses the GHE URL for login endpoints

Without this option, the default github.com URLs are used as before.

Add support for custom GitHub Enterprise Server URLs via:
- CLI flag: --github-url <url> (available in both 'start' and 'auth' commands)
- Environment variable: GITHUB_URL

When a GHE URL is provided (e.g., https://github.example.com):
- GitHub API base URL becomes <ghe-url>/api/v3
- OAuth device code flow uses the GHE URL for login endpoints

Without this option, the default github.com URLs are used as before.
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