0
1
Fork 0
mirror of https://github.com/actions/checkout synced 2024-06-26 15:58:20 +02:00
checkout/dist
ZauberNerd 590916fc5e
Pass correct baseUrl to octokit
The PR #1246 replaced the `getOctokit` method from the
`octokit-provider.ts` file with the `getOctokit` method from the
`@actions/github` package.
The octokit-provider was previously responsible for creating an Octokit
instance and setting the `baseUrl` via the `getServerApiUrl` helper
function. This function calls `getServerUrl` which reads the server url
from the `GITHUB_SERVER_URL` environment variable, which on GHES is set
to the enterprise instance.
This commit restores the previous behaviour by calling `getServerApiUrl`
in all places where an octokit instance is created.

Co-authored-by: Markus Wolf <mail@markus-wolf.de>
2023-04-13 14:10:01 +02:00
..
index.js Pass correct baseUrl to octokit 2023-04-13 14:10:01 +02:00
problem-matcher.json Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00