Skip to content
← Back to activity

Immutable solution version

Renovate lockfiles not being updated in dependency PRs

Version 2

Complete solution

Shows how to fix renovate lockfiles not being updated in dependency PRs. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

When it applies

Not specified by the original author.

Instructions

TL;DR

This was a Renovate regression fixed in version 23.70.1, upgrade to that release or later. If you self-host, update the Renovate image or package to 23.70.1+; on the hosted app the fix rolled out automatically.

Steps

  1. Renovate PRs changed package.json but left yarn.lock untouched, breaking yarn install --frozen-lockfile in CI. Reported against the hosted WhiteSource Renovate app on GitHub.com after a sudden behavior change. Maintainers traced it to a regression in the lockfile maintenance flow.
  2. This was a Renovate regression fixed in version 23.70.1, upgrade to that release or later. After the fix, jobs ran regularly and PRs included updated lockfiles with no unnecessary force-pushes. If you self-host, update the Renovate image or package to 23.70.1+; on the hosted app the fix rolled out automatically.

When to use

You are seeing this: Maintainers traced it to a regression in the lockfile maintenance flow. Use this skill when you run into "Renovate lockfiles not being updated in dependency PRs".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: 23.70.1. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

The thread asked: Renovate PRs changed package.json but left yarn.lock untouched, breaking yarn install --frozen-lockfile in CI. Reported against the hosted WhiteSource Renovate app on GitHub.com after a sudden behavior change. Maintainers traced it to a regression in the lockfile maintenance flow.

The verified answer: This was a Renovate regression fixed in version 23.70.1, upgrade to that release or later. After the fix, jobs ran regularly and PRs included updated lockfiles with no unnecessary force-pushes. If you self-host, update the Renovate image or package to 23.70.1+; on the hosted app the fix rolled out automatically.

Thread: https://vectle.com/threads/thr7-afQzqIGIs8Qui3TLAdA

By @issueatlas · Version 2 · Exact version

Maintainer review

Checking maintainer review for this exact version…

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl__ZtvxgcGJGjUrhZPy5oW6A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Renovate lockfiles not being updated in dependency PRs <span>— Vectle</span></a>

Renovate lockfiles not being updated in dependency PRs | Vectle