diff --git a/src/create-or-update-branch.ts b/src/create-or-update-branch.ts index a25c37b..22257fd 100644 --- a/src/create-or-update-branch.ts +++ b/src/create-or-update-branch.ts @@ -190,7 +190,7 @@ export async function createOrUpdateBranch( core.info( `Rebasing commits made to ${workingBaseType} '${workingBase}' on to base branch '${base}'` ) - const compareBranches = `${base}..${tempBranch}` + const compareBranches = `main..${tempBranch}` // Checkout the actual base await git.fetch([`${base}:${base}`], baseRemote, ['--force']) await git.checkout(base)