Closed SebastianBezold closed 1 month ago
Hi @spencerschrock and @jeffmendoza,
sorry for the very late response. Have been on a longer private absence and was not able to work on this. Thank you for your input. I'm right back working on it!
Hi @jeffmendoza,
are the fixes to your comments ok? Is there anything else, that I should adapt?
Thanks for the reminder. Looks great. Thank you!!
Description
This PR introduces support for self hosted GitHub Enterprise instances with URLs different than github.com. With these changes, an environment variable
ALLSTAR_GHE_URL
can used to configure a custom GitHub URL. If set, all GitHub clients created are initialized using this URL.Additional Info
For some reason, this setup only works if additionally to
ALLSTAR_GHE_URL
, you also defineGH_HOST
with the same host, just except the protocol (i.e:ALLSTAR_GHE_URL="https://my-ghe.example.com"
andGH_HOST="my-ghe.example.com"
).I have tested this PR on our own internal GitHub enterprise instance with
KEY_SECRET="direct"
and providing thePRIVATe_KEY
as plain-text.pem
Closes #552
Sebastian Bezold sebastian.bezold@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH, legal info/impressum