mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Updating create comment
This commit is contained in:
parent
1a30aa3181
commit
eb833a93a2
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.issues.createComment({
|
await octokit.rest.issues.createComment({
|
||||||
...context.repo,
|
...context.repo,
|
||||||
issue_number: pullRequestNumber,
|
issue_number: pullRequestNumber,
|
||||||
body: comment,
|
body: comment,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue