Adding review comment

This commit is contained in:
Blake Campbell 2023-03-29 01:58:31 -04:00
parent 9011d64627
commit a99648b25c

View file

@ -125,7 +125,7 @@ module.exports.communicateValidationOutcome = async function (
const pullRequestNumber = context.payload.pull_request.number;
const octokit = new github.getOctokit(GITHUB_TOKEN);
await octokit.rest.pulls.createComment({
await octokit.rest.pulls.createReviewComment({
...context.repo,
pullRequestNumber,
body: comment,