Reworked the base branch.

This commit is contained in:
Philipp Horstenkamp 2023-11-19 13:30:34 +01:00
parent 5ea757ffed
commit f4920a7063
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4

View File

@ -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)}`);