Skip to content

Commit cfeb83f

Browse files
authored
Migrate to Renovate (grafana#5154)
Enable Renovate tool for dependencies checks, consequentially drop Dependabot.
1 parent 60336bd commit cfeb83f

File tree

2 files changed

+107
-60
lines changed

2 files changed

+107
-60
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

renovate.json

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"schedule:weekly"
5+
],
6+
"prConcurrentLimit": 50,
7+
"packageRules": [
8+
{
9+
"description": "GitHub Actions",
10+
"managers": [
11+
"github-actions"
12+
]
13+
},
14+
{
15+
"description": "Enable gomod updates with common options",
16+
"managers": [
17+
"gomod"
18+
],
19+
"enabled": true,
20+
"postUpdateOptions": [
21+
"gomodTidy",
22+
"gomodUpdateImportPaths"
23+
]
24+
},
25+
{
26+
"description": "Update Go versions only when a patch version exists (z > 0 in v1.x.z)",
27+
"managers": [
28+
"gomod"
29+
],
30+
"matchPackageNames": [
31+
"go"
32+
],
33+
"allowedVersions": "/^(?:v)?\\d+\\.\\d+\\.[1-9]\\d*$/"
34+
},
35+
{
36+
"groupName": "golangx",
37+
"description": "Group golang.org/x modules",
38+
"managers": [
39+
"gomod"
40+
],
41+
"matchPackagePatterns": [
42+
"^golang\\.org/x/"
43+
]
44+
},
45+
{
46+
"groupName": "googles",
47+
"description": "Group google.golang.org modules",
48+
"managers": [
49+
"gomod"
50+
],
51+
"matchPackagePatterns": [
52+
"^google\\.golang\\.org/"
53+
]
54+
},
55+
{
56+
"groupName": "otel",
57+
"description": "Group OpenTelemetry modules",
58+
"managers": [
59+
"gomod"
60+
],
61+
"matchPackagePatterns": [
62+
"^go\\.opentelemetry\\.io/"
63+
]
64+
},
65+
{
66+
"description": "Disable list for frozen Go modules - see Dependencies.md and modtools_frozen.yml",
67+
"managers": [
68+
"gomod"
69+
],
70+
"enabled": false,
71+
"matchPackageNames": [
72+
"github.com/andybalholm/cascadia",
73+
"github.com/sirupsen/logrus",
74+
"github.com/spf13/afero",
75+
"github.com/spf13/cobra",
76+
"github.com/spf13/pflag",
77+
"github.com/influxdata/influxdb1-client",
78+
"gopkg.in/guregu/null.v3",
79+
"gopkg.in/yaml.v3"
80+
]
81+
},
82+
{
83+
"description": "k6 dockerfiles",
84+
"managers": [
85+
"docker"
86+
],
87+
"ignorePaths": [
88+
"packaging/**"
89+
],
90+
"extends": [
91+
"schedule:monthly"
92+
]
93+
},
94+
{
95+
"description": "Dockerfiles packaging tool",
96+
"managers": [
97+
"docker"
98+
],
99+
"matchPaths": [
100+
"packaging/**"
101+
],
102+
"extends": [
103+
"schedule:quarterly"
104+
]
105+
}
106+
]
107+
}

0 commit comments

Comments
 (0)