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/",