chore: Update renovate.json (#1968)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2025-04-04 20:59:58 +02:00
committed by GitHub
parent 0846c2805f
commit 5fcaa56a9c

View File

@@ -1,65 +1,87 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [ "extends": [
"config:best-practices" "config:recommended",
], "helpers:pinGitHubActionDigestsToSemver"
"labels": [ ],
"🛠️ dependencies" "labels": [
], "🛠️ dependencies"
"dependencyDashboardApproval": true, ],
"packageRules": [ "dependencyDashboardApproval": true,
{ "packageRules": [
"groupName": "GitHub Actions", {
"matchManagers": [ "groupName": "golangci-lint",
"github-actions" "matchPackageNames": [
] "github.com/golangci/golangci-lint/cmd/golangci-lint",
}, "golangci/golangci-lint",
{ "golangci/golangci-lint-action"
"groupName": "Go tools", ]
"matchFileNames": [ },
"tools/**", {
"Makefile" "matchManagers": ["gomod"],
], "matchDepTypes": ["indirect"],
"matchPackageNames": [ "enabled": true
"*" },
] {
} "groupName": "GitHub Actions",
], "matchManagers": [
"postUpdateOptions": [ "github-actions"
"gomodTidy" ]
], },
"ignoreDeps": [ {
"mcr.microsoft.com/oss/kubernetes/windows-host-process-containers-base-image" "groupName": "golang.org/x/",
], "matchPackageNames": [
"customManagers": [ "golang.org/x/*"
{ ]
"customType": "regex", },
"fileMatch": ["."], {
"matchStrings": [ "groupName": "Go tools",
"[\\t ]*(?:#|//) ?renovate: (?<datasource>[^=]+)=(?<depName>\\S+)( registry=(?<registryUrl>\\S+))?( versioning=(?<versioning>\\S+))?[\\t ]*\\r?\\n.+?[:=][\\t ]*[\"']?(?<currentValue>[^@\\s\"'=]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?" "matchFileNames": [
], "tools/**",
"datasourceTemplate": "{{#if (equals datasource 'github')}}github-tags{{else}}{{{datasource}}}{{/if}}", "Makefile"
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else if (equals datasource 'docker')}}docker{{else if (equals datasource 'deb')}}deb{{else}}semver{{/if}}" ],
}, "matchPackageNames": [
{ "*"
"customType": "regex", ]
"fileMatch": ["Makefile"], }
"matchStrings": [ ],
"go run (?<depName>\\S+)@(?<currentValue>\\S+)" "postUpdateOptions": [
], "gomodTidy"
"datasourceTemplate": "go" ],
}, "ignoreDeps": [
{ "mcr.microsoft.com/oss/kubernetes/windows-host-process-containers-base-image"
"customType": "regex", ],
"fileMatch": [ "customManagers": [
"(^|/).+\\.yaml$" {
], "customType": "regex",
"matchStrings": [ "fileMatch": ["."],
"[\\t ]*image:[\\t ]*\\r?\\n[\\t ]*registry:[\\t ]*[\"']?(?<registry>.*?)[\"']?[\\t ]*\\r?\\n[\\t ]*(?:repository|name):[\\t ]*[\"']?(?<repository>.*?)[\"']?[\\t ]*\\r?\\n[\\t ]*tag:[\\t ]*[\"']?(?<currentValue>[\\w\\.+-]*)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?", "matchStrings": [
"[\\t ]*image:[\\t ]*[\"']?(?<registry>.+\\..+?)/(?<repository>.*?):(?<currentValue>[\\w\\.+-]*)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?" "[\\t ]*(?:#|//) ?renovate: (?<datasource>git-refs)=(?<depName>\\S+)(?: branch=(?<currentValue>\\S+))?[\\t ]*\\r?\\n.+?[:=][\\t ]*[\"']?(?<currentDigest>[a-f0-9]+)[\"']?",
], "[\\t ]*(?:#|//) ?renovate: (?<datasource>[^=]+)=(?<depName>\\S+)(?: registry=(?<registryUrl>\\S+))?(?: versioning=(?<versioning>\\S+))?[\\t ]*\\r?\\n.+?[:=][\\t ]*[\"']?(?<currentValue>[^@\\s\"'=]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?"
"depNameTemplate": "{{{ registry }}}/{{{ repository }}}", ],
"datasourceTemplate": "docker" "currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else if (equals datasource 'git-refs')}}main{{/if}}",
} "datasourceTemplate": "{{#if (equals datasource 'github')}}github-tags{{else}}{{{datasource}}}{{/if}}",
] "versioningTemplate": "{{#if (equals datasource 'docker')}}docker{{else if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
{
"customType": "regex",
"fileMatch": ["Makefile"],
"matchStrings": [
"go run (?<depName>\\S+)@(?<currentValue>\\S+)"
],
"datasourceTemplate": "go"
},
{
"customType": "regex",
"fileMatch": [
"(^|/).+\\.yaml$"
],
"matchStrings": [
"[\\t ]*image:[\\t ]*\\r?\\n[\\t ]*registry:[\\t ]*[\"']?(?<registry>.*?)[\"']?[\\t ]*\\r?\\n[\\t ]*(?:repository|name):[\\t ]*[\"']?(?<repository>.*?)[\"']?[\\t ]*\\r?\\n[\\t ]*tag:[\\t ]*[\"']?(?<currentValue>[\\w\\.+-]*)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?",
"[\\t ]*image:[\\t ]*[\"']?(?<registry>.+\\..+?)/(?<repository>.*?):(?<currentValue>[\\w\\.+-]*)(?:@(?<currentDigest>sha256:[a-f0-9]+))?[\"']?"
],
"depNameTemplate": "{{{ registry }}}/{{{ repository }}}",
"datasourceTemplate": "docker"
}
]
} }