packageRules[n].extends doesn't appear in the schema / doesn't seem to work #29673
-
What would you like help with?I think I found a bug How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.gitlab, 37.408.0 Please tell us more about your question or problempackageRules documentation states we can use extends inside packageRules to extend different configuration based on a directory, when I try to edit my configuration to match something like this, I don't get autocomplete for the "extends" key, and looking at the $schema, it doesn't seem to be documented there either. In addition this doesn't seem to work at all, it seems only the root extends got used here. Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Unfortunately the schema is not perfect, and it's not the best investment in our time to make it perfect instead of making more features. There's also a built-in validator for Renovate you can read more about here (also not perfect): https://docs.renovatebot.com/config-validation/#config-validation |
Beta Was this translation helpful? Give feedback.
Use matchFileNames patterns like you originally suggested, but avoid using extends - just use regular config (e.g.
semanticCommits
)