Skip to content

What's the logic for packageRules conditions? #8116

Answered by rarkins
Leksat asked this question in Request Help
Discussion options

You must be logged in to vote

I would like the rule to work only if both paths and packageNames match. Is this possible?

Yes. The docs you quote refer to packageNames and packagePatterns and not about paths.

But don't nest major within the second rule. Use updateTypes instead, like you did in the first rule.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Leksat
Comment options

You must be logged in to vote
2 replies
@viceice
Comment options

@viceice
Comment options

Comment options

You must be logged in to vote
1 reply
@viceice
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants