From d756814e6f49ad40e35f6bc215e7ce3e053e366b Mon Sep 17 00:00:00 2001 From: Blake Campbell Date: Tue, 11 Apr 2023 23:06:22 -0400 Subject: [PATCH] Disabling create review comment temporarily. --- scripts/utils.js | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/scripts/utils.js b/scripts/utils.js index 8435a1a1..2aa0fd8a 100644 --- a/scripts/utils.js +++ b/scripts/utils.js @@ -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({