MNT: Add Renovate config to master so it actually takes effect#1039
Merged
Conversation
Renovate (Mend hosted app) reads repository configuration only from the default branch, which is `master`. The config introduced in #972 was merged into `develop`, so it never took effect: Renovate ran with bare defaults, raised PRs against `master` instead of `develop`, did not group updates, and naively bumped every pinned line in the autogenerated `docs/requirements.txt`. This adds the configuration on `master` and: - keeps the intended settings (baseBranches: develop, grouping, labels, dependency dashboard); - enables the `pip-compile` manager scoped to `docs/requirements.txt`, which is autogenerated from `docs/requirements.in`, so the lock file is regenerated properly instead of patched line by line; - disables the `pip_requirements` manager for that one file to avoid duplicate PRs (it still manages the hand-written requirements files). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This was referenced Jun 27, 2026
This was referenced Jun 27, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1039 +/- ##
==========================================
+ Coverage 81.12% 81.42% +0.30%
==========================================
Files 107 107
Lines 13881 14026 +145
==========================================
+ Hits 11261 11421 +160
+ Misses 2620 2605 -15 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Gui-FernandesBR
added a commit
that referenced
this pull request
Jun 27, 2026
Renovate reads its config only from the default branch (master), where the corrected config is added in #1039. This updates develop's renovate.json to be byte-identical to that one (pip-compile manager for the autogenerated docs/requirements.txt; pip_requirements disabled for that file) so master and develop don't diverge and the next master<->develop merge won't hit an add/add conflict on .github/renovate.json. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Renovate (Mend hosted app) reads its repository configuration only from the default branch, which for this repo is
master. The config added in #972 was merged intodevelop, so it never took effect.Running with bare defaults is why Renovate has been misbehaving:
masterinstead ofdevelop,docs/requirements.txt— which is autogenerated bypip-compileand carries a "DO NOT EDIT" header. This produced ~50+ noisy PRs.What this does
Adds
.github/renovate.jsononmasterwith the intended settings, plus the docs fix:baseBranches: ["develop"]— future dependency PRs targetdevelop(the original intent).dependencieslabel, dependency dashboard (unchanged from MNT: Configure Renovate Bot targeting develop branch #972).pip-compilemanager scoped todocs/requirements.txt. Its header recordspip-compile docs/requirements.in, so Renovate regenerates the lock file properly instead of patching pinned lines.pip_requirementsfordocs/requirements.txtonly, to avoid duplicate PRs. The hand-writtenrequirements.txt,requirements-optional.txt, andrequirements-tests.txtare still managed normally.Follow-up
The ~54 open Renovate PRs that only edit
docs/requirements.txtare being closed separately; once this merges they won't be recreated. Thedevelopcopy ofrenovate.jsonshould be synced to match (or will reconcile on the next release merge).