mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-07 05:09:05 +02:00
177 lines
5.4 KiB
JSON
177 lines
5.4 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
"config:recommended",
|
|
"helpers:pinGitHubActionDigestsToSemver"
|
|
],
|
|
"labels": [
|
|
"🛠️ dependencies"
|
|
],
|
|
"timezone": "Europe/Berlin",
|
|
"schedule": [
|
|
"* 14-17 * * 5"
|
|
],
|
|
"baseBranchPatterns": ["master", "/^[0-9]\\.[0-9][0-9]$/"],
|
|
"ignorePaths": ["**/workflows/container_description.yml","**/workflows/stale.yml","**/workflows/govulncheck.yml"],
|
|
"packageRules": [
|
|
{
|
|
"enabled": true,
|
|
"matchDatasources": ["golang-version"],
|
|
"rangeStrategy": "bump"
|
|
},
|
|
{
|
|
"enabled": true,
|
|
"matchDepNames": ["go", "golang"],
|
|
"groupName": "go version"
|
|
},
|
|
{
|
|
"enabled": true,
|
|
"matchCategories": ["go"],
|
|
"matchUpdateTypes": ["digest"]
|
|
},
|
|
{
|
|
"groupName": "golangci-lint",
|
|
"matchPackageNames": [
|
|
"github.com/golangci/golangci-lint/cmd/golangci-lint",
|
|
"golangci/golangci-lint",
|
|
"golangci/golangci-lint-action"
|
|
],
|
|
"addLabels": ["chore"]
|
|
},
|
|
{
|
|
"matchPackageNames": ["gopkg.in/yaml"],
|
|
"enabled": false
|
|
},
|
|
{
|
|
"matchManagers": ["gomod"],
|
|
"matchDepTypes": ["indirect"],
|
|
"major": {"enabled": false},
|
|
"enabled": true
|
|
},
|
|
{
|
|
"groupName": "GitHub Actions",
|
|
"matchManagers": ["github-actions"],
|
|
"matchDatasources": ["!/github-runners$/"],
|
|
"semanticCommitScope": "github-actions",
|
|
"separateMajorMinor": false,
|
|
"addLabels": ["chore"]
|
|
},
|
|
{
|
|
"groupName": "GitHub Runners",
|
|
"matchManagers": ["github-actions"],
|
|
"matchDatasources": ["github-runners"],
|
|
"semanticCommitScope": "github-actions",
|
|
"separateMajorMinor": false,
|
|
"addLabels": ["chore"]
|
|
},
|
|
{
|
|
"groupName": "moby monorepo",
|
|
"matchManagers": ["gomod"],
|
|
"matchPackageNames": ["github.com/moby/moby", "github.com/moby/moby/**"]
|
|
},
|
|
{
|
|
"groupName": "golang.org/x",
|
|
"matchPackageNames": ["golang.org/x/**"]
|
|
},
|
|
{
|
|
"groupName": "googleapis",
|
|
"matchPackageNames": ["google.golang.org/genproto/googleapis/**"]
|
|
},
|
|
{
|
|
"groupName": "Go tools",
|
|
"matchFileNames": ["tools/**", "Makefile"],
|
|
"matchPackageNames": ["*"],
|
|
"addLabels": ["chore"]
|
|
},
|
|
{
|
|
"matchPackageNames": ["golang.org/x/net"],
|
|
"sourceUrl": "https://github.com/golang/net"
|
|
},
|
|
{
|
|
"matchPackageNames": ["golang.org/x/oauth2"],
|
|
"sourceUrl": "https://github.com/golang/oauth2"
|
|
},
|
|
{
|
|
"matchPackageNames": ["golang.org/x/sys"],
|
|
"sourceUrl": "https://github.com/golang/sys"
|
|
},
|
|
{
|
|
"matchPackageNames": ["golang.org/x/text"],
|
|
"sourceUrl": "https://github.com/golang/text"
|
|
},
|
|
{
|
|
"enabled": false,
|
|
"matchPackageNames": ["https://github.com/yaml/go-yaml"],
|
|
"matchUpdateTypes": ["major"]
|
|
},
|
|
{
|
|
"enabled": false,
|
|
"matchBaseBranches": ["/^[0-9]\\.[0-9][0-9]$/"],
|
|
"matchUpdateTypes": [
|
|
"major"
|
|
]
|
|
},
|
|
{
|
|
"enabled": false,
|
|
"matchBaseBranches": ["/^[0-9]\\.[0-9][0-9]$/"],
|
|
"matchManagers": [
|
|
"github-actions"
|
|
]
|
|
},
|
|
{
|
|
"enabled": false,
|
|
"matchBaseBranches": ["/^[0-9]\\.[0-9][0-9]$/"],
|
|
"matchPackageNames": [
|
|
"github.com/golangci/golangci-lint/cmd/golangci-lint",
|
|
"golangci/golangci-lint",
|
|
"golangci/golangci-lint-action"
|
|
]
|
|
}
|
|
],
|
|
"postUpdateOptions": [
|
|
"gomodTidy"
|
|
],
|
|
"ignoreDeps": [
|
|
"mcr.microsoft.com/oss/kubernetes/windows-host-process-containers-base-image",
|
|
"gopkg.in/yaml.v3"
|
|
],
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": [
|
|
"/./"
|
|
],
|
|
"matchStrings": [
|
|
"[\\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}}",
|
|
"versioningTemplate": "{{#if (equals datasource 'docker')}}docker{{else if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": [
|
|
"/Makefile/",
|
|
"/(^|/).+\\.go/"
|
|
],
|
|
"matchStrings": [
|
|
"go run (?<depName>\\S+)@(?<currentValue>\\S+)"
|
|
],
|
|
"datasourceTemplate": "go"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"managerFilePatterns": [
|
|
"/(^|/).+\\.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"
|
|
}
|
|
]
|
|
}
|