From 0f232d312eae566d3cf3b58623751ea5a0fb6dea Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 19 Nov 2023 13:51:05 +0100 Subject: [PATCH] Removed lots of debugging. --- index.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/index.js b/index.js index 9dbacc2..54edc48 100644 --- a/index.js +++ b/index.js @@ -48,22 +48,10 @@ async function getAndPostPullRequests() { // core.info(`GET repsonse ${JSON.stringify(pulls, 2)}`); // Logic to decide if a POST request is needed - core.info(branch); - core.info(base_branch); const targetPRFound = _.any( pulls, (pr) => pr.head.ref === branch && pr.base.ref === base_branch, ); - for (let pr of pulls) { - core.info(branch); - core.info(base_branch); - - core.info(pr.head.ref); - core.info(pr.base.ref); - core.info(pr.base.ref === base_branch); - core.info(pr.head.ref === branch); - core.info(pr.head.ref === branch && pr.base.ref === base_branch); - } if (!targetPRFound) { core.info( `No open pulls found, to merge ${branch} into ${base_branch}. Trying to create a new PR.`,