A first draft of this software #2

Closed
Philipp wants to merge 35 commits from draft into main
Showing only changes of commit 6f65eaf0d3 - Show all commits

View File

@@ -48,6 +48,8 @@ async function getAndPostPullRequests() {
// core.info(`GET repsonse ${JSON.stringify(pulls, 2)}`); // core.info(`GET repsonse ${JSON.stringify(pulls, 2)}`);
// Logic to decide if a POST request is needed // Logic to decide if a POST request is needed
core.info(branch);
core.info(base_branch);
const targetPRFound = _.any( const targetPRFound = _.any(
pulls, pulls,
(pr) => pr.head.ref === branch && pr.base.ref === base_branch, (pr) => pr.head.ref === branch && pr.base.ref === base_branch,