Created a first draft of this action. #14
6
index.js
6
index.js
@ -53,8 +53,14 @@ async function getAndPostPullRequests() {
|
|||||||
(pr) => pr.head.ref === branch && pr.base.ref === base_branch,
|
(pr) => pr.head.ref === branch && pr.base.ref === base_branch,
|
||||||
);
|
);
|
||||||
for (let pr of pulls) {
|
for (let pr of pulls) {
|
||||||
|
core.info(branch);
|
||||||
|
core.info(base_branch);
|
||||||
|
|
||||||
core.info(pr.head.ref);
|
core.info(pr.head.ref);
|
||||||
core.info(pr.base.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) {
|
if (targetPRFound) {
|
||||||
core.info(
|
core.info(
|
||||||
|
Reference in New Issue
Block a user