1
0
Fork 0
mirror of https://github.com/actions/toolkit.git synced 2025-06-08 06:27:02 +09:00

Export default octokit options (#1188)

This commit is contained in:
Luke Tomlinson 2022-09-30 12:17:19 -04:00 committed by GitHub
parent 192c26f865
commit ac778acad2
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ import {paginateRest} from '@octokit/plugin-paginate-rest'
export const context = new Context.Context()
const baseUrl = Utils.getApiBaseUrl()
const defaults = {
export const defaults: OctokitOptions = {
baseUrl,
request: {
agent: Utils.getProxyAgent(baseUrl)