mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 23:16:26 +00:00
fix: skip lock file update if only remediation
This commit is contained in:
parent
85d847e91f
commit
32ae851558
1 changed files with 7 additions and 0 deletions
|
@ -427,6 +427,13 @@ export async function getAdditionalFiles(
|
|||
logger.debug('Skipping lock file generation');
|
||||
return { artifactErrors, updatedArtifacts };
|
||||
}
|
||||
if (
|
||||
!config.updatedPackageFiles?.length &&
|
||||
config.upgrades?.every((upgrade) => upgrade.isRemediation)
|
||||
) {
|
||||
logger.debug('Skipping lock file generation for remediations');
|
||||
return { artifactErrors, updatedArtifacts };
|
||||
}
|
||||
logger.debug('Getting updated lock files');
|
||||
if (
|
||||
config.updateType === 'lockFileMaintenance' &&
|
||||
|
|
Loading…
Reference in a new issue