mirror of https://github.com/actions/toolkit
Export default octokit options (#1188)
parent
192c26f865
commit
ac778acad2
|
@ -10,7 +10,7 @@ import {paginateRest} from '@octokit/plugin-paginate-rest'
|
||||||
export const context = new Context.Context()
|
export const context = new Context.Context()
|
||||||
|
|
||||||
const baseUrl = Utils.getApiBaseUrl()
|
const baseUrl = Utils.getApiBaseUrl()
|
||||||
const defaults = {
|
export const defaults: OctokitOptions = {
|
||||||
baseUrl,
|
baseUrl,
|
||||||
request: {
|
request: {
|
||||||
agent: Utils.getProxyAgent(baseUrl)
|
agent: Utils.getProxyAgent(baseUrl)
|
||||||
|
|
Loading…
Reference in New Issue