From 1f9cdadd35bf7a33f7ec40251c9c58b8b4156a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 19 Jun 2024 21:34:33 +0200 Subject: [PATCH] Update Poetry Renovate rules, cleanup --- .github/renovate.json5 | 15 +-------------- example-project/.github/renovate.json5 | 6 ------ 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 7b9edf10e..61a487432 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -67,7 +67,7 @@ }, /** Group Poetry packages */ { - matchPackagePrefixes: ['poetry'], + matchDepNames: ['poetry', 'poetry-.*'], groupName: 'Poetry', automerge: true, }, @@ -82,19 +82,6 @@ groupName: 'codespell', matchDepNames: ['codespell'], }, - /** Update dpkg versions every day */ - { - matchPaths: ['^ci/dpkg-versions\\.yaml$'], - schedule: ['at any time'], - groupName: 'dpkg', - automerge: true, - }, - { - matchDatasources: ['repology'], - schedule: ['at any time'], - groupName: 'dpkg', - automerge: true, - }, /** Support the 4 parts of shellcheck-py version with a v prefix */ { versioning: 'regex:^v(?\\d+)\\.(?\\d+)\\.(?\\d+)\\.(?\\d+)$', diff --git a/example-project/.github/renovate.json5 b/example-project/.github/renovate.json5 index b88711a22..60d3e928e 100644 --- a/example-project/.github/renovate.json5 +++ b/example-project/.github/renovate.json5 @@ -13,12 +13,6 @@ fileMatch: ['^.pre-commit-config.yaml$'], matchStrings: [" +- '?(?[^' @=]+)(@|==)(?[^' @=]+)'? # (?.+)"], }, - { - fileMatch: ['^ci/dpkg-versions.yaml$'], - matchStrings: [" *(?[^'\\s]+): '?(?[^'\\s/]*[0-9][^'\\s/]*)'?"], - datasourceTemplate: 'repology', - versioningTemplate: 'loose', - }, ], packageRules: [ /** Automerge the patch, the minor and the dev dependency */