Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Fix wrong URL resolution at octokit/grapql queries in Github Enterprise #54

Merged
merged 2 commits into from
Mar 6, 2022

Conversation

veysiertekin
Copy link
Contributor

@veysiertekin veysiertekin commented Mar 5, 2022

Octokit/grapql queries points to wrong Github Urls. When I look into details, I have seen that it is using https://api.github.com by default. Made a small change that if there is a Github API URL definition it will use it.

This GITHUB_API_URL comes with Github's own implementation, does not require a manual defined environment variable by the user.

Note: tried latest version of Octokit, it still has the same problem.

@gilbertsoft gilbertsoft merged commit 26057aa into GsActions:main Mar 6, 2022
@gilbertsoft
Copy link
Member

Thanks for the fix!

gilbertsoft added a commit that referenced this pull request Mar 6, 2022
… Enterprise (#54)

* [BUGFIX] Fix wrong URL resolution at octokit/grapql queries in G.Enterprise

* [TASK] Ignore IDE related files & folders

Co-authored-by: Simon Gilli <25326036+gilbertsoft@users.noreply.github.com>
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.

2 participants