Offer only stable nginx releases

nginx's odd minors (1.29, 1.31) are the mainline branch; we run the
stable even minors. Renovate proposed 1.31 for blog; with this it
proposes the next stable line (1.30) instead.

Assisted-by: Claude:opus-5-5
This commit is contained in:
Sergei Poljanski 2026-11-13 02:20:27 +04:00
commit 85af3b87b9
Signed by: asxpi
GPG key ID: 4F8851660FA4121B

View file

@ -1,9 +1,14 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "Shared Renovate rules for asxpi/* and czsk/* (extend with local>asxpi/renovate)", "description": "Shared Renovate rules for asxpi/* and czsk/* (extend with local>asxpi/renovate)",
"extends": ["config:recommended", ":disableDependencyDashboard"], "extends": [
"config:recommended",
":disableDependencyDashboard"
],
"timezone": "Europe/Helsinki", "timezone": "Europe/Helsinki",
"labels": ["dependencies"], "labels": [
"dependencies"
],
"prHourlyLimit": 0, "prHourlyLimit": 0,
"prConcurrentLimit": 10, "prConcurrentLimit": 10,
"commitMessagePrefix": "deps:", "commitMessagePrefix": "deps:",
@ -13,27 +18,58 @@
"packageRules": [ "packageRules": [
{ {
"description": "Keep lock files on the bundler nixpkgs ships (BUNDLED WITH 2.7.2); a newer one makes CI install no gems", "description": "Keep lock files on the bundler nixpkgs ships (BUNDLED WITH 2.7.2); a newer one makes CI install no gems",
"matchManagers": ["bundler"], "matchManagers": [
"matchPackageNames": ["bundler"], "bundler"
],
"matchPackageNames": [
"bundler"
],
"enabled": false "enabled": false
}, },
{ {
"description": "Postgres majors need a dump and restore: open the PR, never let it look routine", "description": "Postgres majors need a dump and restore: open the PR, never let it look routine",
"matchPackageNames": ["postgres", "docker.io/library/postgres"], "matchPackageNames": [
"matchUpdateTypes": ["major"], "postgres",
"labels": ["dependencies", "needs-migration"], "docker.io/library/postgres"
"prBodyNotes": ["A Postgres major upgrade needs pg_dumpall + restore into a fresh volume (see storage/README.md). Do not merge as a routine bump."] ],
"matchUpdateTypes": [
"major"
],
"labels": [
"dependencies",
"needs-migration"
],
"prBodyNotes": [
"A Postgres major upgrade needs pg_dumpall + restore into a fresh volume (see storage/README.md). Do not merge as a routine bump."
]
},
{
"description": "nginx odd minors (1.29, 1.31) are mainline; stay on the stable even minors",
"matchPackageNames": [
"nginx",
"docker.io/library/nginx"
],
"allowedVersions": "/^1\\.\\d*[02468](\\.|-|$)/"
}, },
{ {
"description": "Group the patch and minor bumps of a repo's GitHub/Forgejo actions", "description": "Group the patch and minor bumps of a repo's GitHub/Forgejo actions",
"matchManagers": ["github-actions"], "matchManagers": [
"matchUpdateTypes": ["minor", "patch"], "github-actions"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"groupName": "CI actions" "groupName": "CI actions"
}, },
{ {
"description": "Renovate itself releases daily; once a month is enough", "description": "Renovate itself releases daily; once a month is enough",
"matchPackageNames": ["ghcr.io/renovatebot/renovate"], "matchPackageNames": [
"schedule": ["* * 1 * *"] "ghcr.io/renovatebot/renovate"
],
"schedule": [
"* * 1 * *"
]
} }
] ]
} }