mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-04 09:36:35 +00:00
chore: Update renovate.json (#1968)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -1,19 +1,39 @@
|
|||||||
{
|
{
|
||||||
"$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": [
|
"labels": [
|
||||||
"🛠️ dependencies"
|
"🛠️ dependencies"
|
||||||
],
|
],
|
||||||
"dependencyDashboardApproval": true,
|
"dependencyDashboardApproval": true,
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"groupName": "golangci-lint",
|
||||||
|
"matchPackageNames": [
|
||||||
|
"github.com/golangci/golangci-lint/cmd/golangci-lint",
|
||||||
|
"golangci/golangci-lint",
|
||||||
|
"golangci/golangci-lint-action"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchManagers": ["gomod"],
|
||||||
|
"matchDepTypes": ["indirect"],
|
||||||
|
"enabled": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"groupName": "GitHub Actions",
|
"groupName": "GitHub Actions",
|
||||||
"matchManagers": [
|
"matchManagers": [
|
||||||
"github-actions"
|
"github-actions"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"groupName": "golang.org/x/",
|
||||||
|
"matchPackageNames": [
|
||||||
|
"golang.org/x/*"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"groupName": "Go tools",
|
"groupName": "Go tools",
|
||||||
"matchFileNames": [
|
"matchFileNames": [
|
||||||
@@ -36,10 +56,12 @@
|
|||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
"fileMatch": ["."],
|
"fileMatch": ["."],
|
||||||
"matchStrings": [
|
"matchStrings": [
|
||||||
"[\\t ]*(?:#|//) ?renovate: (?<datasource>[^=]+)=(?<depName>\\S+)( registry=(?<registryUrl>\\S+))?( versioning=(?<versioning>\\S+))?[\\t ]*\\r?\\n.+?[:=][\\t ]*[\"']?(?<currentValue>[^@\\s\"'=]+)(?:@(?<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]+))?[\"']?"
|
||||||
],
|
],
|
||||||
|
"currentValueTemplate": "{{#if currentValue}}{{{currentValue}}}{{else if (equals datasource 'git-refs')}}main{{/if}}",
|
||||||
"datasourceTemplate": "{{#if (equals datasource 'github')}}github-tags{{else}}{{{datasource}}}{{/if}}",
|
"datasourceTemplate": "{{#if (equals datasource 'github')}}github-tags{{else}}{{{datasource}}}{{/if}}",
|
||||||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else if (equals datasource 'docker')}}docker{{else if (equals datasource 'deb')}}deb{{else}}semver{{/if}}"
|
"versioningTemplate": "{{#if (equals datasource 'docker')}}docker{{else if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"customType": "regex",
|
"customType": "regex",
|
||||||
|
|||||||
Reference in New Issue
Block a user