mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Disabling create review comment temporarily.
This commit is contained in:
parent
b96d3ddaa3
commit
d756814e6f
1 changed files with 2 additions and 14 deletions
|
|
@ -121,20 +121,8 @@ module.exports.communicateValidationOutcome = async function (
|
|||
core.info(`Comment contents:\n${comment}`);
|
||||
return;
|
||||
}
|
||||
|
||||
const pullRequestNumber = context.payload.pull_request.number;
|
||||
console.log('pullRequestNumber', pullRequestNumber);
|
||||
console.log('context', context);
|
||||
|
||||
console.log('repo full', context.repo);
|
||||
// log owner
|
||||
console.log('owner', context.repo.owner);
|
||||
// repo name
|
||||
console.log('repo', context.repo.repo);
|
||||
// body
|
||||
console.log('body', comment);
|
||||
|
||||
|
||||
// TODO: Re-enable a way to comment on PRs that tests passed.
|
||||
// const pullRequestNumber = context.payload.pull_request.number;
|
||||
|
||||
// const octokit = new github.getOctokit(GITHUB_TOKEN);
|
||||
// await octokit.rest.pulls.createReviewComment({
|
||||
|
|
|
|||
Loading…
Reference in a new issue