Configure Renovate only update patch version for a dependency, but it both updates this dependency to minor and patch in one merge request #25740
Replies: 2 comments 4 replies
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the discussion if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
You should only need to set separateMinorPatch=true and then disable minor |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
ghcr.io/renovatebot/renovate:37.35.0@sha256:378e5b95f459d4d0ed11ce7d83ef35ef6a3b96c3bc66edb4a10cfcf7693556dd
If you're self-hosting Renovate, select which platform you are using.
GitLab self-hosted
Was this something which used to work for you, and then stopped?
I never saw this working
Wanted end result.
I want the Renovate only raises a merge request for patch version updates. But it updates the dependency version to the minor within the
require
directive, and update the dependency's version to the patch version within thereplace
directive. It's so weird for me.Per my understanding, either it updates to minor version, or updates to patch version. Why both minor and patch versions are updated in the same merged request.
The following picture is showing changes are made by Renovate:
What you tried so far.
The Renovate configuration is the following one:
Per the merge request title, indeed, it only updates the dependency's version to a patch version. But per code changes that Renovate generates, it both updates the minor and patch versions within one merge request.
My question is:
Thanks!
Relevant debug logs
Logs
Beta Was this translation helpful? Give feedback.
All reactions