Skip to content

Commit

Permalink
fix renovate.json
Browse files Browse the repository at this point in the history
  • Loading branch information
elchenberg committed Oct 16, 2024
1 parent 0fd836f commit ef78d28
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,18 @@
"automerge": true,
"automergeType": "branch",
"requiredStatusChecks": ["Lint and Test"],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^.github/workflows/.*\\.ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.*?version: \"?(?<currentValue>.*?)\"?"
],
"extractVersionTemplate": "^v?(?<version>.*)$",
"versioningTemplate": "{{#if (containsString depName 'golangci-lint')}}semver{{else}}golang{{/if}}"
}
],
"packageRules": [

{
"customManagers": [
{
"customType": "regex",
"fileMatch": ["^.github/workflows/.*\\.ya?ml$"],
"matchStrings": [
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)\\s+.*?version: \"?(?<currentValue>.*?)\"?"
],
"extractVersionTemplate": "^v?(?<version>.*)$",
"versioningTemplate": "{{#if (containsString depName 'golangci-lint')}}semver{{else}}golang{{/if}}"
}
]
},

{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
Expand Down

0 comments on commit ef78d28

Please sign in to comment.