From bad0533079248701f1fb14f760f046920a43aa04 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 19 Nov 2023 13:49:35 +0100 Subject: [PATCH] Inverted the logs. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e65a181..9dbacc2 100644 --- a/index.js +++ b/index.js @@ -64,7 +64,7 @@ async function getAndPostPullRequests() { core.info(pr.head.ref === branch); core.info(pr.head.ref === branch && pr.base.ref === base_branch); } - if (targetPRFound) { + if (!targetPRFound) { core.info( `No open pulls found, to merge ${branch} into ${base_branch}. Trying to create a new PR.`, );