Skip to content

Support GitHub Enterprise Server with Custom GH API Base URLs #202

@wadimdz

Description

@wadimdz

Hi,
I tried and failed ;) to use the terraform-module-releaser on an enterprise GitHub instance.
The demo action keeps failing with Error: Unable to read and write pull requests due to insufficient permissions. Ensure the workflow permissions.pull-requests is set to "write". error but my manual api call to proper API URL in the same action is successful.
My suspection is that the octokit is always instantiated with default api.github.com

Is there any possibility to set custom API URL in current action version or this is a new feature?

thanks and regards,
Wadim

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions