mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 01:59:04 +02:00
chore: Refactor renovate.json package rules and labels (#2762)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
+24
-26
@@ -14,15 +14,6 @@
|
||||
"baseBranchPatterns": ["main","/^[0-9]\\.[0-9][0-9]$/"],
|
||||
"ignorePaths": ["**/workflows/container_description.yml","**/workflows/stale.yml","**/workflows/govulncheck.yml"],
|
||||
"packageRules": [
|
||||
{
|
||||
"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
|
||||
@@ -39,7 +30,16 @@
|
||||
"matchDatasources": ["!/github-runners$/"],
|
||||
"semanticCommitScope": "github-actions",
|
||||
"separateMajorMinor": false,
|
||||
"addLabels": ["chore"]
|
||||
"labels": ["chore"]
|
||||
},
|
||||
{
|
||||
"description": "Group '# renovate:' comments in workflows with the github-actions manager, which also detects 'with: version' (depType uses-with)",
|
||||
"groupName": "GitHub Actions",
|
||||
"matchManagers": ["custom.regex"],
|
||||
"matchFileNames": [".github/workflows/**"],
|
||||
"semanticCommitScope": "github-actions",
|
||||
"separateMajorMinor": false,
|
||||
"labels": ["chore"]
|
||||
},
|
||||
{
|
||||
"groupName": "GitHub Runners",
|
||||
@@ -47,7 +47,16 @@
|
||||
"matchDatasources": ["github-runners"],
|
||||
"semanticCommitScope": "github-actions",
|
||||
"separateMajorMinor": false,
|
||||
"addLabels": ["chore"]
|
||||
"labels": ["chore"]
|
||||
},
|
||||
{
|
||||
"groupName": "golangci-lint",
|
||||
"matchPackageNames": [
|
||||
"github.com/golangci/golangci-lint/cmd/golangci-lint",
|
||||
"golangci/golangci-lint",
|
||||
"golangci/golangci-lint-action"
|
||||
],
|
||||
"labels": ["chore"]
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
@@ -84,20 +93,9 @@
|
||||
"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"
|
||||
"groupName": "golang.org/x",
|
||||
"matchPackageNames": ["golang.org/x/**"],
|
||||
"sourceUrl": "https://github.com/golang/{{{lookup (split packageName '/') 2}}}"
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
@@ -135,7 +133,7 @@
|
||||
"golangci/golangci-lint",
|
||||
"golangci/golangci-lint-action"
|
||||
]
|
||||
},
|
||||
},
|
||||
{
|
||||
"description": "Keep Go dependencies compatible with the backport branches",
|
||||
"matchManagers": ["gomod"],
|
||||
|
||||
Reference in New Issue
Block a user