From 9c6a901f304e14b3382ef5ec47ce087f889ade52 Mon Sep 17 00:00:00 2001 From: DanielGavin Date: Mon, 3 Oct 2022 12:51:00 +0200 Subject: Update main.js --- .github/actions/github-release/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/actions/github-release/main.js b/.github/actions/github-release/main.js index 81a5b16..077926e 100644 --- a/.github/actions/github-release/main.js +++ b/.github/actions/github-release/main.js @@ -22,7 +22,7 @@ async function runOnce() { core.info(`name: ${name}`); core.info(`token: ${token}`); - const octokit = new github.GitHub(token); + const octokit = github.getOctokit(token, options); // Delete the previous release since we can't overwrite one. This may happen // due to retrying an upload or it may happen because we're doing the dev -- cgit v1.2.3