Repository navigation
build: Renovate opens its pull requests against dev - #341
Merged
Merged
Conversation
Renovate reads renovate.json from the default branch, main, and without a base branch configured it also read the dependency files there and targeted main with its pull requests. main is the latest release and nobody commits on it; dev is the trunk every pull request targets. baseBranchPatterns names dev, so Renovate reads the dependency files from dev and opens its pull requests against it. Co-Authored-By: Claude Fable 5.1 <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 was onboarded in #340 and reads
renovate.jsonfrom the default branch,main. With no base branch configured it read the dependency files onmainand would have opened every update against it.mainis the latest release and nobody commits on it;devis the trunk every pull request targets.What
baseBranchPatternsnamesdev. Renovate keeps reading its configuration frommain, reads the dependency files fromdev, and opens its pull requests againstdev.How to review
One option added to
renovate.json. The option name is the current one in Renovate's schema;baseBrancheswas renamed tobaseBranchPatterns.The "Pull requests target dev" CI job goes red on this PR by design, as it did on #340: the configuration file has to live on the default branch for Renovate to find it. After merging,
devneedsgit merge origin/mainonce so thatbin/releasecan fast forwardmainagain.🤖 Generated with Claude Code