From ac778acad245424cd37b3457ab9a9bfdf428c9cd Mon Sep 17 00:00:00 2001 From: Luke Tomlinson Date: Fri, 30 Sep 2022 12:17:19 -0400 Subject: [PATCH] Export default octokit options (#1188) --- packages/github/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/github/src/utils.ts b/packages/github/src/utils.ts index bbc71c10..5238f308 100644 --- a/packages/github/src/utils.ts +++ b/packages/github/src/utils.ts @@ -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)