Created a first draft of this action. #14
2
index.js
2
index.js
@ -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,
|
||||||
|
Reference in New Issue
Block a user