Created a first draft of this action. #14

Merged
Philipp merged 68 commits from draft into main 2023-11-19 23:21:49 +01:00
Showing only changes of commit 8c18455f90 - Show all commits

View File

@ -55,8 +55,10 @@ async function getAndPostPullRequests() {
pulls, pulls,
(pr) => pr.head.ref === branch && pr.base.ref === base_branch, (pr) => pr.head.ref === branch && pr.base.ref === base_branch,
); );
core.info(pulls[0].head.ref); for (let pr in pulls) {
core.info(pulls[0].base.ref); core.info(pr.head.ref);
core.info(pr.base.ref);
}
if (targetPRFound) { if (targetPRFound) {
core.info( core.info(
`No open pulls found, to merge ${branch} into ${base_branch}. Trying to create a new PR.`, `No open pulls found, to merge ${branch} into ${base_branch}. Trying to create a new PR.`,