-
Notifications
You must be signed in to change notification settings - Fork 4
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
API URL to become a variable for GitHub Enterprise #272
Comments
This sounds like a great idea. Thank you for submitting an issue. |
We have just tested github-enterprise branch. The issue is on the node version our runner runs on node16 , we have edited the action.yml to run on node16 we get the following error "Error: fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing" Error -- Octokit({ request: { fetch }}). - can be fixed by node18 or bypassed. However, we have tested changing the base URL (hardcoded) and node set to node16 and it was working. I believe it would be a better way to just set the base URL (API) and node version on the workflow yaml file. |
The issue is that Octokit switched from using the |
I could start supporting two versions of this Action, one running on node16 and the other on node20, which should resolve all your issues. |
@jamacku any updates on the use of node16? |
@lythro10 I have created a new branch that is using node16. Please verify that |
@jamacku Working great on v2.1.0 Thank you ! |
Type of issue
Feature Request
Description
Currently, this app cannot be used on GitHub enterprise versions which are self hosted, because the Base API URL is set to the default API of github.com
As GitHub Enterprise is self-hosted the API URL is different.
Describe the solution you'd like
A solution would be to create a configuration option for the API URL as a not required field which the default would be github api if not specified.
I would like to be assigned to this issue
The text was updated successfully, but these errors were encountered: