From d16836494c183ebac980c3a21da75ff48e587cc9 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sat, 18 Jan 2025 18:17:14 +0100 Subject: [PATCH] chore: Update renovate config for new haskell-cabal manager This manager was recently introduced to renovate and is now creating PRs for upper version bounds of our haskell dependencies. We still need to figure out how to deal with those in the best way, but some basic configuration can already be done. Here, we: - disallow any of those updates on the backbranches. - group GHC-provided dependencies together. - group packages from the hasql ecosystem together. --- .github/renovate.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json b/.github/renovate.json index a003bb6627..58b683e8c0 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -14,7 +14,20 @@ "packageRules": [ { "matchBaseBranches": [ "/^v[0-9]+/" ], - "groupName": "all dependencies" + "groupName": "all dependencies", + "haskell-cabal": { + "enabled": false + } + }, + { + "matchManagers": ["haskell-cabal"], + "matchPackageNames": ["base", "bytestring", "containers", "directory", "mtl", "parsec", "process", "text"], + "groupName": "GHC dependencies" + }, + { + "matchManagers": ["haskell-cabal"], + "matchPackageNames": ["hasql", "hasql-dynamic-statements", "hasql-notifications", "hasql-transaction", "hasql-pool"], + "groupName": "hasql" } ] }