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
..
git-auth-helper.test.ts
Inject GitHub host to be able to clone from another GitHub instance ( #922 )
2022-09-26 12:34:52 -04:00
git-command-manager.test.ts
Implement branch list using callbacks from exec function ( #1045 )
2022-12-14 16:08:53 -05:00
git-directory-helper.test.ts
fix default branch for .wiki and when using ssh ( #284 )
2020-06-18 10:20:33 -04:00
git-version.test.ts
Convert checkout to a regular action ( #70 )
2019-12-03 10:28:59 -05:00
github-api-helper.test.ts
Pass correct baseUrl to octokit
2023-04-13 14:10:01 +02:00
input-helper.test.ts
Add set-safe-directory input to allow customers to take control. ( #770 )
2022-04-20 21:37:43 -04:00
modify-work-tree.sh
Convert checkout to a regular action ( #70 )
2019-12-03 10:28:59 -05:00
override-git-version.cmd
Swap to Environment Files ( #360 )
2020-09-30 11:41:09 -04:00
override-git-version.sh
Swap to Environment Files ( #360 )
2020-09-30 11:41:09 -04:00
ref-helper.test.ts
update dev dependencies and react to new linting rules ( #611 )
2021-10-19 09:52:57 -05:00
retry-helper.test.ts
update dev dependencies and react to new linting rules ( #611 )
2021-10-19 09:52:57 -05:00
verify-basic.sh
update default branch ( #305 )
2020-07-14 09:23:30 -04:00
verify-clean.sh
Convert checkout to a regular action ( #70 )
2019-12-03 10:28:59 -05:00
verify-lfs.sh
Convert checkout to a regular action ( #70 )
2019-12-03 10:28:59 -05:00
verify-no-unstaged-changes.sh
update troubleshooting instructions to include 'npm run format'
2020-05-31 17:48:51 -04:00
verify-side-by-side.sh
Convert checkout to a regular action ( #70 )
2019-12-03 10:28:59 -05:00
verify-submodules-false.sh
add support for submodules ( #173 )
2020-03-05 14:21:59 -05:00
verify-submodules-recursive.sh
add support for submodules ( #173 )
2020-03-05 14:21:59 -05:00
verify-submodules-true.sh
add support for submodules ( #173 )
2020-03-05 14:21:59 -05:00