mirror of
https://gitea.com/actions/checkout.git
synced 2024-11-10 02:35:56 +01:00
590916fc5e
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> |
||
---|---|---|
.. | ||
git-auth-helper.test.ts | ||
git-command-manager.test.ts | ||
git-directory-helper.test.ts | ||
git-version.test.ts | ||
github-api-helper.test.ts | ||
input-helper.test.ts | ||
modify-work-tree.sh | ||
override-git-version.cmd | ||
override-git-version.sh | ||
ref-helper.test.ts | ||
retry-helper.test.ts | ||
verify-basic.sh | ||
verify-clean.sh | ||
verify-lfs.sh | ||
verify-no-unstaged-changes.sh | ||
verify-side-by-side.sh | ||
verify-submodules-false.sh | ||
verify-submodules-recursive.sh | ||
verify-submodules-true.sh |