From e05f7d8886ee5eaf4f86e4b117461c1a0fbb1e90 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 19 Nov 2023 13:46:08 +0100 Subject: [PATCH] Reworked the debugging a bit. --- index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.js b/index.js index 71f6983..9d34a54 100644 --- a/index.js +++ b/index.js @@ -53,8 +53,14 @@ async function getAndPostPullRequests() { (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(