From 3a9b450d5189a56a160f4ad621264105d388e5d1 Mon Sep 17 00:00:00 2001 From: d10sfan Date: Wed, 7 Feb 2024 22:57:30 -0600 Subject: [PATCH] Fix github --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index eb63862..d275850 100644 --- a/index.js +++ b/index.js @@ -8,7 +8,7 @@ console.log('Starting.'); async function run() { try { const context = githubReq.context; - const github = github.getOctokit(core.getInput('token')); + const github = githubReq.getOctokit(core.getInput('token')); const isPullRequest = context.payload.pull_request; const commits = !isPullRequest ? context.payload.commits.filter(c => c.distinct) : [{ id: context.payload.pull_request.head.sha