open-telemetry / opentelemetry-collector-releases

OpenTelemetry Collector Official Releases
https://opentelemetry.io
Apache License 2.0
253 stars 162 forks source link

Set up default renovate config with regex to handle goreleaser-pro updates #728

Closed mowies closed 3 weeks ago

mowies commented 3 weeks ago

This PR takes the renovate config from https://github.com/open-telemetry/opentelemetry-collector (as I found this to be mostly also applicable here, maybe a bit overkill still) and adds a custom regex manager that handles updates of the version field for GoReleaser inside the goreleaser-action usages. Example of an occurrence that this should cover: https://github.com/open-telemetry/opentelemetry-collector-releases/blob/11530fd416496525d0a026be319feb442e0add3b/.github/workflows/base-release.yaml#L83-L88

Hopefully, this works for #668 but renovate config updates are hard to test before merging. The local setup didn't scream, which is a good sign. I will close the issue manually once I'm sure that this PR fixes it and otherwise provide follow-up PRs.