From f4920a7063cbb7994cb7f090cb2ed79422563fce Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Sun, 19 Nov 2023 13:30:34 +0100 Subject: [PATCH] Reworked the base branch. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7b04db9..4e17dda 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ async function getAndPostPullRequests() { const branch = core.getInput("branch"); 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(`Post Data: ${JSON.stringify(postData)}`);