Reworked the base branch.
This commit is contained in:
parent
5ea757ffed
commit
f4920a7063
2
index.js
2
index.js
@ -19,7 +19,7 @@ async function getAndPostPullRequests() {
|
|||||||
const branch = core.getInput("branch");
|
const branch = core.getInput("branch");
|
||||||
core.info(`The branch ${branch} should be merged.`);
|
core.info(`The branch ${branch} should be merged.`);
|
||||||
|
|
||||||
const base_branch = core.getInput("base_branch");
|
const base_branch = core.getInput("base_branch") || "main";
|
||||||
core.info(`The branch ${base_branch} should be merged into.`);
|
core.info(`The branch ${base_branch} should be merged into.`);
|
||||||
|
|
||||||
// core.info(`Post Data: ${JSON.stringify(postData)}`);
|
// core.info(`Post Data: ${JSON.stringify(postData)}`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user