Closed joshmgross closed 1 year ago
Fixes #436
Replaces #437
Due to how options are passed through @actions/github to Octokit, an undefined baseUrl prevents the default from being used. This breaks using github-script on GHES, which requires the GHES instance API URL.
@actions/github
undefined
baseUrl
I've included the other integration tests, but they don't cover this specific scenario or what we're trying to fix.
Hello from actions/github-script! (52c67b9f485fe926d70f2427d49a877b08c6f2c2)
Het was heel erg gezellig bij de buren
Fixes #436
Replaces #437
Due to how options are passed through
@actions/github
to Octokit, anundefined
baseUrl
prevents the default from being used. This breaks using github-script on GHES, which requires the GHES instance API URL.437 attempted to reproduce this issue in a test, but it was unsuccessful. There's a similar issue in the integration test, but the fix doesn't work despite it being confirmed in https://github.com/actions/github-script/issues/436#issuecomment-1816670425.
I've included the other integration tests, but they don't cover this specific scenario or what we're trying to fix.