diff --git a/src/main.ts b/src/main.ts index 0b991f9..fad6e5e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -19,7 +19,7 @@ async function run(): Promise { return; } - const client = new github.GitHub(githubToken); + const client = new github.getOctokit(githubToken); await client.issues.addLabels({ labels, owner,