merge-gatekeeper icon indicating copy to clipboard operation
merge-gatekeeper copied to clipboard

Support GitHub Enterprise Instances

Open maxmoehl opened this issue 1 year ago • 0 comments

Currently this action does not supply a API URL to the GitHub client:

https://github.com/upsidr/merge-gatekeeper/blob/12e1af4ecc92572c30bda0afff86b78f4d6baac5/internal/github/github.go#L34-L38

According to the documentation this causes the client to default to the GitHub.com API. Within Actions the correct API URL for the instance is available as GITHUB_API_URL.

I'd be happy to provide a PR to fix this!

maxmoehl avatar Feb 21 '24 12:02 maxmoehl