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