diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index e8fbf22..4e06b40 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -74455,6 +74455,9 @@ function generateReports() { const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8')); const octokit = new rest_1.Octokit({ auth: c.INPUT_GITHUB_TOKEN, + request: { + fetch: fetch, + }, }); const contentEncoded = js_base64_1.Base64.encode(JSON.stringify(buildOutput)); const { data } = yield octokit.repos.createOrUpdateFileContents({ diff --git a/dist/main/index.js b/dist/main/index.js index 333c8a4..107013e 100644 --- a/dist/main/index.js +++ b/dist/main/index.js @@ -74554,6 +74554,9 @@ function generateReports() { const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8')); const octokit = new rest_1.Octokit({ auth: c.INPUT_GITHUB_TOKEN, + request: { + fetch: fetch, + }, }); const contentEncoded = js_base64_1.Base64.encode(JSON.stringify(buildOutput)); const { data } = yield octokit.repos.createOrUpdateFileContents({ diff --git a/src/features/reports.ts b/src/features/reports.ts index 21aaf6f..2a0e9fa 100644 --- a/src/features/reports.ts +++ b/src/features/reports.ts @@ -135,6 +135,9 @@ export async function generateReports(): Promise { const octokit = new Octokit({ auth: c.INPUT_GITHUB_TOKEN, + request: { + fetch: fetch, + }, }); const contentEncoded = Base64.encode(JSON.stringify(buildOutput))