diff --git a/main.js b/main.js index 9a6f5120..3080be2a 100644 --- a/main.js +++ b/main.js @@ -14,7 +14,7 @@ async function main() { const pr = core.getInput("pr") let commit = core.getInput("commit") - const client = new github.getOctokit(token) + const client = github.getOctokit(token) if (pr) { console.log("==> PR:", pr)