Package rule identification from the match string patterns for the same dependency #34036
Unanswered
mvgadagi
asked this question in
Request Help
Replies: 1 comment 7 replies
-
Distinguish then using depName |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
No response
Please tell us more about your question or problem
I have a scenario where the same package is used in two different keys within a build.yaml file, and I want Renovate to handle updates for each key separately.
Here’s the current configuration in the build.yaml:
We are extracting dependencies like this using Renovate's regexManagers:
While we discovered that we can use
additionalBranchPrefix
, we’re unable to distinguish betweenbuildImage
andbuildBetaImage
in the packageRules because they share the same registry, package name, and datasource.This limitation comes because we are not allowed to use matchStrings inside
packageRuels
Is there a way to configure Renovate to treat buildImage and buildBetaImage differently and apply separate update configurations for each one?
Why we need this:
• We want separate PRs for buildImage and buildBetaImage.
• We need the flexibility to configure different update strategies (e.g., minor, major, patch) for each.
Any advice or suggestions would be greatly appreciated!
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions