Skip to content

Commit b0fe371

Browse files
fix: use getOctokit
1 parent 2107c8e commit b0fe371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const organization = core.getInput("organization", { required: true });
1010
const username = core.getInput("username", { required: true });
1111
const token = core.getInput("token", { required: true });
1212

13-
const octokit = new github.GitHub(token);
13+
const octokit = new github.getOctokit(token);
1414

1515
main();
1616

0 commit comments

Comments
 (0)