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

Add support for GITHUB_API_URL (GHES) #364

Open
gr2m opened this issue Sep 26, 2021 · 2 comments
Open

Add support for GITHUB_API_URL (GHES) #364

gr2m opened this issue Sep 26, 2021 · 2 comments
Labels
Type: Feature New feature or request
Projects

Comments

@gr2m
Copy link
Contributor

gr2m commented Sep 26, 2021

See https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables.

@ghost ghost added this to Inbox in JS Sep 26, 2021
@gr2m gr2m added the Type: Feature New feature or request label Sep 26, 2021
@ghost ghost moved this from Inbox to Features in JS Sep 26, 2021
@oscard0m
Copy link
Member

oscard0m commented Oct 3, 2021

See https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables.

Is it solved by this line or is there something else I'm missing?

return process.env["GITHUB_API_URL"] || "https://api.github.com";

@gr2m
Copy link
Contributor Author

gr2m commented Oct 3, 2021

Ha! All good then :) But I think we still don't properly test for it, would you like to do that? If not I can create a separate issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature or request
Projects
No open projects
JS
  
Features
Development

No branches or pull requests

2 participants