How do matchers work if groups are overlapping? #39703
-
How are you running Renovate?A Mend.io-hosted app Which platform you running Renovate on?GitHub.com Which version of Renovate are you using?42.19.9 Please tell us more about your question or problemIn this repo, I have the following dependency structure:
These four groups are defined by group / category names and they are working fine. I also have the following packages and I install them from separete categories/managers:
With the 4 groups I listed in the first part, when there is an update for one of these packages, renovate creates multiple PRs. For example, uv 0.9.14 update:
I want to create new groups for these 4 dependencies, so when there is an update for one of them, I'll have only 1 PR to handle. I tried to configure this behaviour at https://github.com/ulgens/django-blasphemy/blob/d03281653f65088830b8836535e54e2e0c9d9dd9/renovate.json5#L84 but renovate is still creating multiople PRs for each dependency. This is the result after adding the new groups: I tried to add the package name-based groups at the top first, and it didn't work. Then I moved them to the end of the list in the config file, hoping the last ones would have priority, but it didn't work either. https://docs.renovatebot.com/configuration-options/#packagerules mentions that
but it doesn't seem to be case here. Not sure what I should do to give priority to package name based groups. Logs (if relevant)Logs |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Last one will override the ones before it. |
Beta Was this translation helpful? Give feedback.
It's not invalid, but also not suitable for your case.
uvwill matchuvbut notghcr/io/astral-sh/uvas you are expecting. For that, you'd need a regex/glob pattern.You can try ChatGPT for more clarification