Skip to content

Commit 261df21

Browse files
committed
Renovate: wait out pnpm's minimum-release-age cooldown
pnpm 11 enforces a 1-day supply-chain minimum-release-age on `pnpm install --frozen-lockfile`, but Renovate (config:recommended) proposes updates the day a version is published, so the too-new lockfile entry fails CI with ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION (e.g. #40 bumping wrangler). Set minimumReleaseAge to 3 days (clears the 1-day floor with margin) with internalChecksFilter=strict, so Renovate holds an update until it has aged past the cooldown instead of opening a PR that can only fail.
1 parent 823dd6e commit 261df21

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

renovate.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,10 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
44
"config:recommended"
5-
]
5+
],
6+
"description": [
7+
"minimumReleaseAge keeps Renovate from proposing a version newer than pnpm's minimum-release-age cooldown. pnpm 11 enforces a 1-day supply-chain policy on `pnpm install --frozen-lockfile`, so a same-day bump writes a too-new lockfile entry and CI fails with ERR_PNPM_MINIMUM_RELEASE_AGE_VIOLATION. 3 days clears the 1-day floor with margin. internalChecksFilter=strict holds such an update until it ages in, instead of opening a red PR."
8+
],
9+
"minimumReleaseAge": "3 days",
10+
"internalChecksFilter": "strict"
611
}

0 commit comments

Comments
 (0)