-
Notifications
You must be signed in to change notification settings - Fork 3
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 parameter in the Octokit initialization to support GHES #194
Comments
Yes, sure, that makes total sense. |
Or maybe it's solved by @octokit/action out of the box, isn't it? I don't know why I am not using that lib instead 😅 |
As mentioned in #194, the current code doesn't support GitHub Enterprise Server. This PR fixes that by switching from `@octokit/core` to `@octokit/action` which uses `baseUrl` from GitHub Action context and therefore supports GHES out of the box.
There is a new release now https://github.com/Balvajs/delete-stale-branches/releases/tag/v2.1.0, check it out, it should make this work for you 🚀 |
Hi! We would like to make use of this action, but it won't work with the GitHub enterprise server version:
This initiates an octokit client with the given token. refer here
Octokit is from the @octokit/core and it needs an additional parameter [options.baseUrl] in the Octokit initialization to support the GHES.
Could it be added? Thank you!
The text was updated successfully, but these errors were encountered: