renovate: keep the delegation nginx on stable branches

nginx numbers its release branches by minor: even is stable, odd is
mainline. PR #139 proposed 1.30.4 -> 1.31.4, which would have moved the
Synapse delegation sidecar onto mainline without that ever being a
decision. allowedVersions now permits even minors only; patch updates
inside the stable branch still come through and still automerge.
This commit is contained in:
jklein committed 2026-08-24 12:09:26 +02:00
1 parent 372b5f691c
commit 0908785b10
2 files changed
+16

No files matched your search

+14
View File
@@ -97,6 +97,20 @@
matchDepTypes: ["app-version"],
addLabels: ["app-version"],
},
{
description: [
"nginx numbers its release branches by minor: even is the stable branch, odd is",
"mainline. The Synapse delegation nginx belongs on stable, so only even minors are",
"allowed — that is what PR #139 (1.30.4 -> 1.31.4) would otherwise have done,",
"quietly moving the chart onto mainline. Patch updates inside the stable branch",
"(1.30.4 -> 1.30.5) still come through and still automerge.",
],
matchDatasources: ["docker"],
matchPackageNames: ["nginx", "library/nginx", "docker.io/library/nginx"],
// Even minor: any minor whose last digit is even, so 1.30.x passes and
// 1.31.x does not.
allowedVersions: "/^\\d+\\.\\d*[02468]\\.\\d+$/",
},
],
customManagers: [