Skip to content

Commit 067599e

Browse files
authored
Set up default renovate config with regex to handle goreleaser-pro updates (#728)
* add custom regex manager to update goreleaser in the pipeline Signed-off-by: Moritz Wiesinger <[email protected]> * fix regex manager Signed-off-by: Moritz Wiesinger <[email protected]> * update to goreleaser-pro Signed-off-by: Moritz Wiesinger <[email protected]> * add content from otelcol-contrib config Signed-off-by: Moritz Wiesinger <[email protected]> * add content from otelcol-core config Signed-off-by: Moritz Wiesinger <[email protected]> --------- Signed-off-by: Moritz Wiesinger <[email protected]>
1 parent 703f46e commit 067599e

File tree

1 file changed

+86
-3
lines changed

1 file changed

+86
-3
lines changed

renovate.json

Lines changed: 86 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,89 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:recommended"
5-
]
3+
"labels": [
4+
"renovatebot",
5+
"dependencies"
6+
],
7+
"constraints": {
8+
"go": "1.22"
9+
},
10+
"schedule": ["every tuesday"],
11+
"extends": ["config:recommended"],
12+
"packageRules": [
13+
{
14+
"matchManagers": ["gomod"],
15+
"matchUpdateTypes": ["pin", "pinDigest", "digest", "lockFileMaintenance", "rollback", "bump", "replacement"],
16+
"enabled": false
17+
},
18+
{
19+
"matchManagers": ["gomod"],
20+
"matchUpdateTypes": ["major"],
21+
"prBodyNotes": [":warning: MAJOR VERSION UPDATE :warning: - please manually update this package"],
22+
"labels": ["dependency-major-update"]
23+
},
24+
{
25+
"matchManagers": ["dockerfile"],
26+
"groupName": "dockerfile deps"
27+
},
28+
{
29+
"matchManagers": ["docker-compose"],
30+
"groupName": "docker-compose deps"
31+
},
32+
{
33+
"matchManagers": ["github-actions"],
34+
"groupName": "github-actions deps"
35+
},
36+
{
37+
"matchManagers": ["gomod"],
38+
"matchSourceUrls": [
39+
"https://github.com/open-telemetry/opentelemetry-go-contrib"
40+
],
41+
"groupName": "All opentelemetry-go-contrib packages"
42+
},
43+
{
44+
"matchManagers": ["gomod"],
45+
"matchSourceUrlPrefixes": ["https://go.opentelemetry.io/otel"],
46+
"groupName": "All go.opentelemetry.io/contrib packages"
47+
},
48+
{
49+
"matchManagers": ["gomod"],
50+
"matchSourceUrlPrefixes": ["https://google.golang.org"],
51+
"groupName": "All google.golang.org packages"
52+
},
53+
{
54+
"matchManagers": ["gomod"],
55+
"matchPackagePrefixes": ["golang.org/x"],
56+
"groupName": "All golang.org/x packages"
57+
},
58+
{
59+
"matchManagers": ["gomod"],
60+
"matchPackagePrefixes": ["go.opentelemetry.io/collector"],
61+
"groupName": "All go.opentelemetry.io/collector packages"
62+
},
63+
{
64+
"matchManagers": ["gomod"],
65+
"matchPackagePrefixes": ["go.opentelemetry.io/build-tools"],
66+
"groupName": "All go.opentelemetry.io/build-tools packages"
67+
},
68+
{
69+
"matchManagers": ["gomod"],
70+
"matchDepTypes": ["toolchain"],
71+
"enabled": false
72+
}
73+
],
74+
"customManagers": [
75+
{
76+
"customType": "regex",
77+
"fileMatch": [
78+
"(^|\\/).github\\/.*\\.ya?ml$"
79+
],
80+
"matchStrings": [
81+
"goreleaser\\/goreleaser-action@[\\S\\s]+version: (?<currentValue>.*?)$"
82+
],
83+
"depNameTemplate": "github.com/goreleaser/goreleaser-pro",
84+
"datasourceTemplate": "github-releases"
85+
}
86+
],
87+
"prConcurrentLimit": 200,
88+
"suppressNotifications": ["prEditedNotification"]
689
}

0 commit comments

Comments
 (0)