diff --git a/action.yml b/action.yml index ac221c2..d953ba6 100644 --- a/action.yml +++ b/action.yml @@ -22,5 +22,5 @@ outputs: description: The ID of the comment that was created. runs: - using: 'node16' + using: 'node20' main: './dist/lib/index.js' diff --git a/src/index.ts b/src/index.ts index 9015d11..45e4c7b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ import { context } from '@actions/github'; async function run() { try { const token = getInput('token'); - const octokit = new Octokit({ auth: `token ${token}`, request: { fetch } }); + const octokit = new Octokit({ auth: `token ${token}` }); const { owner, repo } = context.repo; const body = getInput('body');