[build] Configure Renovate dashboard approval#17464
Conversation
Review Summary by QodoConsolidate Renovate config with dashboard approval workflow
WalkthroughsDescription• Consolidate Renovate configuration into single root file • Enable dependency dashboard with approval requirement • Simplify package rules to focus on core managers • Disable automatic PR creation and lockfile maintenance Diagramflowchart LR
A["Multiple Renovate Configs"] -->|Consolidate| B["Single renovate.json"]
B -->|Enable| C["Dependency Dashboard"]
C -->|Require| D["Approval Before PRs"]
B -->|Simplify| E["Core Package Rules"]
E -->|Focus on| F["bundler, cargo, npm, poetry, pep621"]
File Changes1. .github/renovate.json
|
Code Review by Qodo
Context used 1. Missing commit tags
|
There was a problem hiding this comment.
Pull request overview
Baseline Renovate configuration that consolidates two competing config files into a single renovate.json, switches to dashboard-only approval (no automatic PR creation), and disables lockfile editing so the repo's existing update/pin tasks remain authoritative for resolved versions.
Changes:
- Delete
.github/renovate.jsonso Renovate only reads the rootrenovate.json(Renovate stops at the first matching config file). - Enable dependency dashboard with manual approval (
dependencyDashboardApproval,prCreation: "approval",automerge: false) and theB-dependencieslabel. - Skip lockfile/artifact updates (
skipArtifactsUpdate,lockFileMaintenance.enabled: false) and reduce package rules to abumprangeStrategy for declaration-based managers plus Maven versioning for Bazel-discovered Maven artifacts.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
renovate.json |
Adds dashboard-approval settings, label, lockfile/artifact skipping, and simplified package rules (bump for bundler/cargo/npm/pep621/poetry; maven versioning for bazel maven datasource). |
.github/renovate.json |
Removed so the root config is the single source of truth. |
Note - this is just to get a baseline, not the final product
🔗 Related Issues
Follow on to #17463
Previous use of Renovate resulted in a bunch of unreviewed PRs, so it was disabled. It was thought we were doing sufficient updates with the update tasks in release process, but that ended up being limited to Java
💥 What does this PR do?
🔧 Implementation Notes
match managers includes managers that need the "bump" rangeStrategy. It has nothing to do with how bazel will manage the pinning later
🤖 AI assistance
💡 Additional Considerations