matchRegistryUrls requires all registries to match, even if they don't all apply to the specific MR #42462
Unanswered
andrewducker
asked this question in
Request Help
Replies: 2 comments 1 reply
This comment was marked as low quality.
This comment was marked as low quality.
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted Renovate CLI
Which platform you running Renovate on?
GitLab (.com or self-hosted)
Which version of Renovate are you using?
43.104.7
Please tell us more about your question or problem
We have two registry urls we use for nuget:
The first is for our internal packages. The second is a cache for external packages.
We want to do different things depending on whether an MR is for internal packages or external packages.
However, after a lot of testing, it looks like
matchRegistryUrlsonly activates if all of the registry urls for a given package type are matched.I demonstrated this with:
This only matches if the regex contains both an
mand andnas[mn]. (for "myco-ngt-release" and "nuget-remote")Can you confirm that the matchRegistryUrls cannot tell which registries are used for a specific MR? Or am I being very confused?
Beta Was this translation helpful? Give feedback.
All reactions