fgrosse / go-coverage-report

A CLI tool and GitHub Action to post Go code coverage reports as comment to your pull requests.
BSD 3-Clause "New" or "Revised" License
59 stars 11 forks source link

feat: GHES support #40

Open trewallier opened 2 months ago

trewallier commented 2 months ago

Feature request: GitHub Enterprise Server support

It is not possible to set the GH_HOST environment variable for gh cli commands used by the implementation, making the action incompatible with self-hosted GHES. (cli manual for reference)

It would be nice to have an optional gh-host input variable to ensure compatibility. I am willing to implement and test this change if it fits your action @fgrosse.

fgrosse commented 2 months ago

Sure, go for it 😃