mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Adding review comment
This commit is contained in:
parent
9011d64627
commit
a99648b25c
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ module.exports.communicateValidationOutcome = async function (
|
||||||
const pullRequestNumber = context.payload.pull_request.number;
|
const pullRequestNumber = context.payload.pull_request.number;
|
||||||
|
|
||||||
const octokit = new github.getOctokit(GITHUB_TOKEN);
|
const octokit = new github.getOctokit(GITHUB_TOKEN);
|
||||||
await octokit.rest.pulls.createComment({
|
await octokit.rest.pulls.createReviewComment({
|
||||||
...context.repo,
|
...context.repo,
|
||||||
pullRequestNumber,
|
pullRequestNumber,
|
||||||
body: comment,
|
body: comment,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue