From c02a9b59c0843ae8237f9d7cb7282e44c1ad4587 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Aug 2024 05:51:00 +0000 Subject: [PATCH 1/2] chore(config): migrate config .github/renovate.json5 --- .github/renovate.json5 | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index cb31d7f1fa4..80fb04e7a0e 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -19,50 +19,19 @@ "pre-commit": { enabled: true, }, - customManagers: [ - // TODO waiting on https://github.com/nf-core/modules/pull/4080 - // { - // customType: "regex", - // description: "Process Containers dependencies", - // fileMatch: ["(^|/)main\\.nf$"], - // matchStrings: [ - // "\\s+'(?\\S+):(?.*\\-.*)' }\"\n", - // ], - // datasourceTemplate: "docker", - // }, - // { - // customType: "regex", - // description: "Upgrade conda dependencies", - // fileMatch: ["(^|/)environment(.*).ya?ml$"], - // matchStrings: [ - // '#\\s*renovate\\s+datasource=conda\\s+depName=(?.*?)\\s+-\\s*[\\w-]+\\s*==?\\s*"?(?.*)"?', - // '# renovate: datasource=conda depName=(?.*?)\\s+-\\s*[\\w-]+\\s*==?\\s*"?(?.*)"?', - // ], - // datasourceTemplate: "conda", - // }, - // { - // customType: "regex", - // description: "Upgrade pypi dependencies inside conda environment files", - // fileMatch: ["(^|/)environment(.*).ya?ml$"], - // matchStrings: [ - // "# renovate datasource=pypi\\s+-\\s*(?[\\w-]+)\\s*(\\[[\\w,\\s]+\\])?\\s*==?\\s*(?.*)", - // "# renovate: datasource=pypi\\s+-\\s*(?[\\w-]+)\\s*(\\[[\\w,\\s]+\\])?\\s*==?\\s*(?.*)", - // ], - // datasourceTemplate: "pypi", - // }, - ], + customManagers: [], packageRules: [ { matchDatasources: ["docker"], registryUrls: ["quay.io"], }, { - matchPackagePatterns: ["^nf-core/", "^seqera"], matchManagers: ["github-actions"], automerge: true, pinDigest: { enabled: false, }, + matchPackageNames: ["/^nf-core//", "/^seqera/"], }, { matchManagers: ["github-actions"], @@ -71,9 +40,9 @@ schedule: ["before 9am"], }, { - matchPackagePatterns: ["renovate-config-validator"], automerge: true, schedule: ["before 9am on Monday"], + matchPackageNames: ["/renovate-config-validator/"], }, ], } From 6595d7c253a45b965955b38883db3aa2f81d26d3 Mon Sep 17 00:00:00 2001 From: Edmund Miller <20095261+edmundmiller@users.noreply.github.com> Date: Wed, 7 Aug 2024 10:00:59 -0500 Subject: [PATCH 2/2] Update .github/renovate.json5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Matthias Hörtenhuber --- .github/renovate.json5 | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 80fb04e7a0e..7ffc321969b 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -19,7 +19,38 @@ "pre-commit": { enabled: true, }, - customManagers: [], + customManagers: [ + // TODO waiting on https://github.com/nf-core/modules/pull/4080 + // { + // customType: "regex", + // description: "Process Containers dependencies", + // fileMatch: ["(^|/)main\\.nf$"], + // matchStrings: [ + // "\\s+'(?\\S+):(?.*\\-.*)' }\"\n", + // ], + // datasourceTemplate: "docker", + // }, + // { + // customType: "regex", + // description: "Upgrade conda dependencies", + // fileMatch: ["(^|/)environment(.*).ya?ml$"], + // matchStrings: [ + // '#\\s*renovate\\s+datasource=conda\\s+depName=(?.*?)\\s+-\\s*[\\w-]+\\s*==?\\s*"?(?.*)"?', + // '# renovate: datasource=conda depName=(?.*?)\\s+-\\s*[\\w-]+\\s*==?\\s*"?(?.*)"?', + // ], + // datasourceTemplate: "conda", + // }, + // { + // customType: "regex", + // description: "Upgrade pypi dependencies inside conda environment files", + // fileMatch: ["(^|/)environment(.*).ya?ml$"], + // matchStrings: [ + // "# renovate datasource=pypi\\s+-\\s*(?[\\w-]+)\\s*(\\[[\\w,\\s]+\\])?\\s*==?\\s*(?.*)", + // "# renovate: datasource=pypi\\s+-\\s*(?[\\w-]+)\\s*(\\[[\\w,\\s]+\\])?\\s*==?\\s*(?.*)", + // ], + // datasourceTemplate: "pypi", + // }, + ], packageRules: [ { matchDatasources: ["docker"],