Created a first draft of this action. #14
6
index.js
6
index.js
@ -55,8 +55,10 @@ async function getAndPostPullRequests() {
|
||||
pulls,
|
||||
(pr) => pr.head.ref === branch && pr.base.ref === base_branch,
|
||||
);
|
||||
core.info(pulls[0].head.ref);
|
||||
core.info(pulls[0].base.ref);
|
||||
for (let pr in pulls) {
|
||||
core.info(pr.head.ref);
|
||||
core.info(pr.base.ref);
|
||||
}
|
||||
if (targetPRFound) {
|
||||
core.info(
|
||||
`No open pulls found, to merge ${branch} into ${base_branch}. Trying to create a new PR.`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user