You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make an API call to a self-hosted/enterprise instance #150
Retriggering this as this setup does not work, I think this is caused by the changes that environment variables cannot start with the GITHUB prefix anymore, at least since the introduction of Configuration Variables.
Can a different variable be introduced for this to over write the behaviour?
Activity
joshmgross commentedon Jun 10, 2021
👋 Hey @UbiquitousBear, you should be able to be able to set the API URL using the
GITHUB_API_URLenvironment variable -https://github.com/actions/toolkit/blob/11601c0d2dbb2d2cf287c77d03cc3e53866a4f56/packages/github/src/internal/utils.ts#L23-L25
Example:
UbiquitousBear commentedon Jun 10, 2021
@joshmgross looks great - thanks!
rajbos commentedon Jul 28, 2023
Retriggering this as this setup does not work, I think this is caused by the changes that environment variables cannot start with the
GITHUBprefix anymore, at least since the introduction of Configuration Variables.Can a different variable be introduced for this to over write the behaviour?