Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
fix: github npm module usage (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z authored Aug 23, 2022
1 parent 628a216 commit 63fc85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function run() {
const installPresetPackage = core.getInput('preset');
const requirePresetPackage = npa(installPresetPackage).name;

const client = new github.GitHub(process.env.GITHUB_TOKEN);
const client = new github.getOctokit(process.env.GITHUB_TOKEN);

const contextPullRequest = github.context.payload.pull_request;
if (!contextPullRequest) {
Expand Down

0 comments on commit 63fc85b

Please sign in to comment.