diff --git a/lib/workers/branch/index.js b/lib/workers/branch/index.js index 13777c34b0bf39d9d8553c99f3ba98dc4641d66a..b1c8b98ab4b40927ee41f0dfaea9bc2040b8ca7a 100644 --- a/lib/workers/branch/index.js +++ b/lib/workers/branch/index.js @@ -168,7 +168,11 @@ async function processBranch(branchConfig, prHourlyLimitReached, packageFiles) { logger.info('Skipping branch creation as not within schedule'); return 'not-scheduled'; } - if (config.updateNotScheduled === false) { + const prRebaseChecked = + branchPr && + branchPr.body && + branchPr.body.includes(`- [x] <!-- ${appSlug}-rebase -->`); + if (config.updateNotScheduled === false && !prRebaseChecked) { logger.debug('Skipping branch update as not within schedule'); return 'not-scheduled'; }