Skip to content

Commit

Permalink
Set up default renovate config with regex to handle goreleaser-pro up…
Browse files Browse the repository at this point in the history
…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
mowies authored Nov 7, 2024
1 parent 703f46e commit 067599e
Showing 1 changed file with 86 additions and 3 deletions.
89 changes: 86 additions & 3 deletions renovate.json
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"]
}

0 comments on commit 067599e

Please sign in to comment.