mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
Use API URL instead of Server URL
This commit is contained in:
parent
4cc0320b36
commit
85717e4e3b
2 changed files with 2 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
|
|
@ -35510,7 +35510,7 @@ async function main() {
|
|||
previews: previews ? previews.split(',') : undefined,
|
||||
retry: retryOpts,
|
||||
request: requestOpts,
|
||||
baseUrl: baseUrl || lib_github.context.serverUrl
|
||||
baseUrl: baseUrl || lib_github.context.apiUrl
|
||||
};
|
||||
const github = (0,lib_github.getOctokit)(token, opts, plugin_retry_dist_node.retry, dist_node.requestLog);
|
||||
const script = core.getInput('script', { required: true });
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ async function main(): Promise<void> {
|
|||
previews: previews ? previews.split(',') : undefined,
|
||||
retry: retryOpts,
|
||||
request: requestOpts,
|
||||
baseUrl: baseUrl || context.serverUrl
|
||||
baseUrl: baseUrl || context.apiUrl
|
||||
}
|
||||
|
||||
const github = getOctokit(token, opts, retry, requestLog)
|
||||
|
|
|
|||
Loading…
Reference in a new issue