diff --git a/lib/workers/branch/index.js b/lib/workers/branch/index.js index 7cc50decf2a57206536d656b7d2f21c30e1ebd60..ee1d6b206be0389e98e03e76e0ca8b5e1eae8c47 100644 --- a/lib/workers/branch/index.js +++ b/lib/workers/branch/index.js @@ -118,6 +118,11 @@ async function processBranch(branchConfig, packageFiles) { logger.debug('Skipping branch update as not within schedule'); return 'not-scheduled'; } + // istanbul ignore if + if (config.updateType === 'lockFileMaintenance') { + logger.debug('Skipping Lock file maintenance out of schedule'); + return 'not-scheduled'; + } logger.debug( 'Branch exists but is not scheduled -- will update if necessary' );