Skip to content
Snippets Groups Projects
Commit d19b15b8 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: don’t update lock file maintenance or create PR out of schedule

Do no lock file maintenance work even if branch exists.

Closes #2503
parent e47b8e7d
Branches
Tags 13.64.17
No related merge requests found
...@@ -118,6 +118,11 @@ async function processBranch(branchConfig, packageFiles) { ...@@ -118,6 +118,11 @@ async function processBranch(branchConfig, packageFiles) {
logger.debug('Skipping branch update as not within schedule'); logger.debug('Skipping branch update as not within schedule');
return 'not-scheduled'; return 'not-scheduled';
} }
// istanbul ignore if
if (config.updateType === 'lockFileMaintenance') {
logger.debug('Skipping Lock file maintenance out of schedule');
return 'not-scheduled';
}
logger.debug( logger.debug(
'Branch exists but is not scheduled -- will update if necessary' 'Branch exists but is not scheduled -- will update if necessary'
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment