Add support for GitHub Enterprise
Hello, While using this Action, I encountered the following error:
Looking for a draft release with tag v0.6.0-beta.1...
Couldn't find release with tag v0.6.0-beta.1. Creating one.
Uploading *****_0.6.0-beta.1_amd64.deb...
Error: Bad credentials - https://docs.github.com/rest
After inspecting the source code, I noticed that the getOctokit function is called without the baseUrl option, which causes the endpoint to default to https://api.github.com. This results in authentication failures when using GitHub Enterprise.
Would it be possible to add support for a configurable baseUrl in the getOctokit initialization to support GitHub Enterprise environments?
Thank you for your work on this project.
I'm facing exactly the same issue. Could we get this fixed?
This project is open to contributions ;) Every bit of help we get is much appreciated.