Skip to content

Commit

Permalink
Fix github
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan committed Feb 8, 2024
1 parent 5c66196 commit 3a9b450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a9b450

Please sign in to comment.