-
Notifications
You must be signed in to change notification settings - Fork 211
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
Does this work with enterprise github? #180
Comments
At least it does not work with out GH Enterprise Server installation. So I would assume that it's not working with GHES in general (as the github.com API seems to be hard-coded). Would be great if there would be an option to specify the used GH instance URL in this action. Alternatively it would make also sense to get this input from the checkout action, there would no need to specify the URL interactively. |
We're using Octokit, which can be passed a baseUrl in the configuration: https://octokit.github.io/rest.js/v18 I don't have access to GH Enterprise, so feel free to create a PR for this! 👍 |
I'll take a stab at this, but my JS-foo is incredibly weak. Hope you don't mind some hand-holding! |
Hi, how can I use with GitHub Enterprise? Thank you in advance! |
I am no expert on gh-actions - but I see you have this regex
/^https:\/\/github.com\/([^/]+)\/([^/]+)\/(pull|tree)\/([^ ]+)$/;
at https://github.com/pascalgn/automerge-action/blob/main/lib/api.js#L9.So is it supposed to work with github enterprise with different URLs?
The text was updated successfully, but these errors were encountered: