From ef78d2855e781d202d6e5ffe2fa303bda1cb05a9 Mon Sep 17 00:00:00 2001 From: elchenberg Date: Wed, 16 Oct 2024 18:12:13 +0200 Subject: [PATCH] fix renovate.json --- renovate.json | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/renovate.json b/renovate.json index 6e8582e..94ffde4 100644 --- a/renovate.json +++ b/renovate.json @@ -3,22 +3,18 @@ "automerge": true, "automergeType": "branch", "requiredStatusChecks": ["Lint and Test"], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["^.github/workflows/.*\\.ya?ml$"], + "matchStrings": [ + "# renovate: datasource=(?.*?) depName=(?.*?)\\s+.*?version: \"?(?.*?)\"?" + ], + "extractVersionTemplate": "^v?(?.*)$", + "versioningTemplate": "{{#if (containsString depName 'golangci-lint')}}semver{{else}}golang{{/if}}" + } + ], "packageRules": [ - - { - "customManagers": [ - { - "customType": "regex", - "fileMatch": ["^.github/workflows/.*\\.ya?ml$"], - "matchStrings": [ - "# renovate: datasource=(?.*?) depName=(?.*?)\\s+.*?version: \"?(?.*?)\"?" - ], - "extractVersionTemplate": "^v?(?.*)$", - "versioningTemplate": "{{#if (containsString depName 'golangci-lint')}}semver{{else}}golang{{/if}}" - } - ] - }, - { "matchUpdateTypes": ["minor", "patch"], "matchCurrentVersion": "!/^0/",