Skip to content

Commit

Permalink
chore(action): fixed issue with var
Browse files Browse the repository at this point in the history
  • Loading branch information
DarrellRichards committed Jun 1, 2024
1 parent 2670f16 commit 3ba739b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async function main() {
});

if (neededComments && neededComments.length > 0) {
await createReviewComment(repository.owner, repository.name, number, neededComments);
await createReviewComment(repository.owner.login, repository.name, number, neededComments);
}

// Validate Some Code Yo!
Expand Down
2 changes: 1 addition & 1 deletion src/services/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function createReviewComment(owner: string, repo: string, pull_numb
owner,
repo,
pull_number,
event: "COMMENT",
event: "REQUEST_CHANGES",
comments,
});
}

0 comments on commit 3ba739b

Please sign in to comment.