mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 22:46:27 +00:00
fix: remove lockFileMaintenance pruning
This commit is contained in:
parent
08922f4fba
commit
e0d35b4a3d
1 changed files with 0 additions and 16 deletions
|
@ -438,22 +438,6 @@ export async function processBranch(
|
|||
}
|
||||
|
||||
const commitHash = await commitFilesToBranch(config);
|
||||
// TODO: Remove lockFileMaintenance rule?
|
||||
if (
|
||||
config.updateType === 'lockFileMaintenance' &&
|
||||
!config.parentBranch &&
|
||||
branchExists
|
||||
) {
|
||||
logger.info(
|
||||
'Deleting lock file maintenance branch as master lock file no longer needs updating'
|
||||
);
|
||||
if (config.dryRun) {
|
||||
logger.info('DRY-RUN: Would delete lock file maintenance branch');
|
||||
} else {
|
||||
await platform.deleteBranch(config.branchName);
|
||||
}
|
||||
return 'done';
|
||||
}
|
||||
if (!commitHash && !branchExists) {
|
||||
return 'no-work';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue