Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add renovate workflow #201

Merged
merged 1 commit into from
Apr 3, 2025
Merged

Add renovate workflow #201

merged 1 commit into from
Apr 3, 2025

Conversation

andyasp
Copy link
Collaborator

@andyasp andyasp commented Mar 26, 2025

I'd like to give Renovate a try instead of manually updating this repository's dependencies every month. A motivating factor here is that I was looking into pinning github action versions manually, but then realized that would add even more toil to the manual process.

A goal is to have this be as free of noise as possible by grouping the go dependency updates (which was how it was done manually). That should run weekly (or can be triggered manually) to create a PR that won't auto-merge. I also disabled Dockerfile updates since the two candidates there are:

  • the Go build container (which updating would require other changes as well that I won't even attempt to automate)
  • the distroless container (which uses a tag that is updated very infrequently corresponding to Debian versions)

I'm no Renovate expert, but went through the configuration to try to understand what's going on. Most of .github/workflows/renovate.yml is similar to other grafana repositories where the workflow is present, with the exception of the cron scheduling and not providing a configurationFile to the Self-hosted Renovate step (it seemed unnecessary). .github/renovate.json is similar to others as well with the exception of the extends and packageRules sections.

@andyasp andyasp marked this pull request as ready for review March 26, 2025 21:11
@andyasp andyasp merged commit d983938 into main Apr 3, 2025
6 checks passed
@andyasp andyasp deleted the aasp/renovate-workflow branch April 3, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants