mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-03 02:53:40 +00:00
ff76622791
The internal preset validation ran `validateConfig()` with `isPreset`, which allows selectors such as `matchManagers` at the top level of a preset. That is how #39738 shipped `helpers:goXPackages*` with a bare `matchManagers` and broke `inheritConfig` users: the real resolution paths validate the resolved config without that leniency. Resolve each preset through `extends`, as a repository or inherited config would, and validate the result without `isPreset`. `packages:` and `monorepo:` presets are selector-only `packageRules` fragments, so they are resolved from within a `packageRules` entry instead.