Skip to content

feat: support custom GitHub API base URL#386

Closed
diogokiss wants to merge 2 commits intoLouisBrunner:mainfrom
diogokiss:support-ghe
Closed

feat: support custom GitHub API base URL#386
diogokiss wants to merge 2 commits intoLouisBrunner:mainfrom
diogokiss:support-ghe

Conversation

@diogokiss
Copy link
Copy Markdown
Contributor

GitHub Enterprise Server deployments require routing API calls to a custom endpoint instead of the default GitHub.com API.

This commit adds a new 'github_api_url' action input and passes it to Octokit as baseUrl so check run calls target the configured GitHub API host. Additionally, it documents the input in README and adds a test case that validates requests using /api/v3 when a custom API URL is provided.

GitHub Enterprise Server deployments require routing API calls to a custom
endpoint instead of the default GitHub.com API.

This commit adds a new 'github_api_url' action input and passes it to Octokit as
baseUrl so check run calls target the configured GitHub API host. Additionally,
it documents the input in README and adds a test case that validates requests
using /api/v3 when a custom API URL is provided.
Align the repository version metadata and usage examples with the current action
release line. Set package.json to 3.1.0 and update README workflow snippets to
reference v3.1.0 for consistency.
@sonarqubecloud
Copy link
Copy Markdown

@diogokiss
Copy link
Copy Markdown
Contributor Author

Closing this Pull Request in favor of #387.

@diogokiss diogokiss closed this Mar 30, 2026
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