From e4937dbe0079fba4ea8b07b7188391d20e468a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= <1771332+vlaci@users.noreply.github.com> Date: Mon, 10 Feb 2025 14:25:26 +0100 Subject: [PATCH] chore(renovate): fix automatic lock file maintenance again It looks like, that putting `lockFileMaintenance` anywhere else than top-level causes issues. https://github.com/renovatebot/renovate/discussions/15899 https://github.com/renovatebot/config-help/issues/89 --- renovate.json | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/renovate.json b/renovate.json index a6cb49256a..0d9905be6e 100644 --- a/renovate.json +++ b/renovate.json @@ -14,23 +14,15 @@ "matchPackageNames": ["pyo3*"] } ], - "nix": { + "lockFileMaintenance": { "enabled": true, - "description": "opt-in support for nix https://docs.renovatebot.com/modules/manager/nix/#enabling", - "lockFileMaintenance": { - "enabled": true, - "branchTopic": "update-flake-lock", - "commitMessageAction": "Update flake.lock", - "extends": ["schedule:weekly"] - } + "branchTopic": "lock-file-maintenance-{{packageFile}}", + "commitMessageExtra": "({{packageFile}})", + "extends": ["scedule:monthly"] }, - "pep621": { - "lockFileMaintenance": { - "enabled": true, - "branchTopic": "update-uv-lock", - "commitMessageAction": "Update uv.lock", - "extends": ["schedule:monthly"] - } + "nix": { + "enabled": true, + "description": "opt-in support for nix https://docs.renovatebot.com/modules/manager/nix/#enabling" }, "pre-commit": { "enabled": true,