change used token

This commit is contained in:
jpaul 2023-11-07 16:14:23 +01:00
parent 607f7c6ae8
commit a9b965747c
3 changed files with 3 additions and 3 deletions

2
dist/cleanup/index.js generated vendored
View File

@ -70716,7 +70716,7 @@ function generateReports() {
return; return;
} }
const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8')); const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8'));
const octokit = github_api.getOctokit(REPORT_TOKEN); const octokit = github_api.getOctokit(c.INPUT_GITHUB_TOKEN);
const contentEncoded = js_base64_1.Base64.encode(JSON.stringify(buildOutput)); const contentEncoded = js_base64_1.Base64.encode(JSON.stringify(buildOutput));
const { data } = yield octokit.repos.createOrUpdateFileContents({ const { data } = yield octokit.repos.createOrUpdateFileContents({
owner: 'jessiscript', owner: 'jessiscript',

2
dist/main/index.js generated vendored
View File

@ -70815,7 +70815,7 @@ function generateReports() {
return; return;
} }
const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8')); const buildOutput = JSON.parse(fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8'));
const octokit = github_api.getOctokit(REPORT_TOKEN); const octokit = github_api.getOctokit(c.INPUT_GITHUB_TOKEN);
const contentEncoded = js_base64_1.Base64.encode(JSON.stringify(buildOutput)); const contentEncoded = js_base64_1.Base64.encode(JSON.stringify(buildOutput));
const { data } = yield octokit.repos.createOrUpdateFileContents({ const { data } = yield octokit.repos.createOrUpdateFileContents({
owner: 'jessiscript', owner: 'jessiscript',

View File

@ -133,7 +133,7 @@ export async function generateReports(): Promise<void> {
fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8') fs.readFileSync(BUILD_OUTPUT_JSON_PATH, 'utf8')
) )
const octokit = github_api.getOctokit(REPORT_TOKEN) const octokit = github_api.getOctokit(c.INPUT_GITHUB_TOKEN)
const contentEncoded = Base64.encode(JSON.stringify(buildOutput)) const contentEncoded = Base64.encode(JSON.stringify(buildOutput))
const { data } = await octokit.repos.createOrUpdateFileContents({ const { data } = await octokit.repos.createOrUpdateFileContents({