Skip to content

Commit

Permalink
fix: don't skip branch creation on rebaseWhen=never (#10556)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Jun 23, 2021
1 parent 052e15e commit c08d7fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/workers/branch/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@ export async function processBranch(
});
}
}
const forcedManually = !!dependencyDashboardCheck || config.rebaseRequested;
const forcedManually =
!!dependencyDashboardCheck || config.rebaseRequested || !branchExists;
if (!forcedManually && config.rebaseWhen === 'never') {
logger.debug(`Skipping commit (rebaseWhen=never)`);
return {
Expand Down

0 comments on commit c08d7fa

Please sign in to comment.