-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up default renovate config with regex to handle goreleaser-pro up…
…dates (#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]>
- Loading branch information
Showing
1 changed file
with
86 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,89 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended" | ||
] | ||
"labels": [ | ||
"renovatebot", | ||
"dependencies" | ||
], | ||
"constraints": { | ||
"go": "1.22" | ||
}, | ||
"schedule": ["every tuesday"], | ||
"extends": ["config:recommended"], | ||
"packageRules": [ | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchUpdateTypes": ["pin", "pinDigest", "digest", "lockFileMaintenance", "rollback", "bump", "replacement"], | ||
"enabled": false | ||
}, | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchUpdateTypes": ["major"], | ||
"prBodyNotes": [":warning: MAJOR VERSION UPDATE :warning: - please manually update this package"], | ||
"labels": ["dependency-major-update"] | ||
}, | ||
{ | ||
"matchManagers": ["dockerfile"], | ||
"groupName": "dockerfile deps" | ||
}, | ||
{ | ||
"matchManagers": ["docker-compose"], | ||
"groupName": "docker-compose deps" | ||
}, | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"groupName": "github-actions deps" | ||
}, | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchSourceUrls": [ | ||
"https://github.com/open-telemetry/opentelemetry-go-contrib" | ||
], | ||
"groupName": "All opentelemetry-go-contrib packages" | ||
}, | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchSourceUrlPrefixes": ["https://go.opentelemetry.io/otel"], | ||
"groupName": "All go.opentelemetry.io/contrib packages" | ||
}, | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchSourceUrlPrefixes": ["https://google.golang.org"], | ||
"groupName": "All google.golang.org packages" | ||
}, | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchPackagePrefixes": ["golang.org/x"], | ||
"groupName": "All golang.org/x packages" | ||
}, | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchPackagePrefixes": ["go.opentelemetry.io/collector"], | ||
"groupName": "All go.opentelemetry.io/collector packages" | ||
}, | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchPackagePrefixes": ["go.opentelemetry.io/build-tools"], | ||
"groupName": "All go.opentelemetry.io/build-tools packages" | ||
}, | ||
{ | ||
"matchManagers": ["gomod"], | ||
"matchDepTypes": ["toolchain"], | ||
"enabled": false | ||
} | ||
], | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"fileMatch": [ | ||
"(^|\\/).github\\/.*\\.ya?ml$" | ||
], | ||
"matchStrings": [ | ||
"goreleaser\\/goreleaser-action@[\\S\\s]+version: (?<currentValue>.*?)$" | ||
], | ||
"depNameTemplate": "github.com/goreleaser/goreleaser-pro", | ||
"datasourceTemplate": "github-releases" | ||
} | ||
], | ||
"prConcurrentLimit": 200, | ||
"suppressNotifications": ["prEditedNotification"] | ||
} |