tauri-action icon indicating copy to clipboard operation
tauri-action copied to clipboard

Add support for GitHub Enterprise

Open ksiom opened this issue 8 months ago • 2 comments

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.

ksiom avatar Apr 25 '25 08:04 ksiom

I'm facing exactly the same issue. Could we get this fixed?

wvffle avatar Jun 04 '25 11:06 wvffle

This project is open to contributions ;) Every bit of help we get is much appreciated.

FabianLars avatar Jun 04 '25 11:06 FabianLars