mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +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);
|
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) {
|
if (!commitHash && !branchExists) {
|
||||||
return 'no-work';
|
return 'no-work';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue