fix(renovate): remove invalid baseBranches and add config validator#838
Merged
Conversation
Renovate stopped opening dependency PRs because renovate.json on develop failed validation: baseBranches was set to ["develop"], which equals the repo's own default branch and is rejected by recent Renovate versions. Remove baseBranches to let Renovate infer the default branch automatically. Restore :semanticCommits to preserve conventional-commit style on dependency PRs. Add a GitHub Actions workflow to validate renovate.json on every PR or push that touches it, catching future config regressions before they merge. Closes: #824
Replace invalid 'additionalLabels' with 'addLabels' in renovate.json packageRules. Co-Authored-By: Claude Sonnet 4.6 <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.
Requirement
github: #824
Fix invalid Renovate configuration that halted dependency PRs
Summary
Renovate stopped opening dependency PRs because
renovate.jsonondevelopfailed validation:baseBrancheswas set to["develop"], which equals the repository's own default branch and is rejected by recent Renovate versions. This PR removes that invalid field and adds a GitHub Actions workflow to catch future config regressions before they merge.Changes
btraceio/btrace
baseBranches: ["develop"]fromrenovate.json— this was the root cause; Renovate infers the default branch automatically:semanticCommitsin theextendslist to preserve conventional-commit style on dependency PRs.github/workflows/validate-renovate-config.yml— runsrenovate-config-validatoron every PR or push that touchesrenovate.json; usesactions/checkout@v6(consistent with repo convention) andpermissions: contents: readAcceptance Criteria
renovate.jsonon develop passesrenovate-config-validatorwith no warnings or errorsrenovate.jsonno longer setsbaseBranchesto the repository's own default branchrenovate.jsonremoves the redundant:semanticCommitspreset — NOTE: restored per author review (preference to keep explicit semantic commit style in config)Implementation Notes
🤖 Generated with Claude Code via muse implement
This change is