Skip to content

fix: append the static repo config to the repo config#34313

Merged
rarkins merged 11 commits intorenovatebot:mainfrom
Gabriel-Ladzaretti:fix/apply_static_config
Feb 21, 2025
Merged

fix: append the static repo config to the repo config#34313
rarkins merged 11 commits intorenovatebot:mainfrom
Gabriel-Ladzaretti:fix/apply_static_config

Conversation

@Gabriel-Ladzaretti
Copy link
Copy Markdown
Contributor

Changes

directly merge RENOVATE_STATIC_REPO_CONFIG into the parsed repo file config. doing so gives the static config higher precedence over the repo config.

previously, the static config was applied before the repo config and passed via the runtime config, which meant it had lower priority even compared to presets which was unintended.

Context

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

Comment thread lib/workers/repository/init/merge.spec.ts Outdated
Comment thread lib/workers/repository/init/merge.ts Outdated
auto-merge was automatically disabled February 20, 2025 11:29

Pull request was closed

@Gabriel-Ladzaretti Gabriel-Ladzaretti marked this pull request as draft February 20, 2025 11:58
@Gabriel-Ladzaretti Gabriel-Ladzaretti marked this pull request as ready for review February 20, 2025 12:04
Comment thread lib/workers/repository/init/merge.spec.ts Outdated
viceice
viceice previously approved these changes Feb 21, 2025
@rarkins rarkins added this pull request to the merge queue Feb 21, 2025
Merged via the queue into renovatebot:main with commit 718e197 Feb 21, 2025
@rarkins rarkins deleted the fix/apply_static_config branch February 21, 2025 13:19
@renovate-release
Copy link
Copy Markdown

🎉 This PR is included in version 39.177.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants