merge-gatekeeper
merge-gatekeeper copied to clipboard
Support GitHub Enterprise Instances
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!