Renovate not filtering out packages for existing PRs when new packageRules config added to renovate.json #21807
Mknight492
started this conversation in
Suggest an Idea
Replies: 1 comment 4 replies
-
Does it fix itself if you tick the rebase/retry checkbox? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Type of discussion.
I just want to chat
Tell us more.
I recently came across an issue where I configured Renovate to make all PR with all "minor" and "patch" updates.
This worked as expected, however I also then wanted to filter the PR to only packages which have a major version >1.0.0 so that they were lower risk package updates.
This works as expected for new PR but I don't believe it's working work existing PRs event though the PR summary states it's filtered out the non major version >1.0.0 version.
There's a demonstration repo here.
I first configured renovate to merge all minor and patch packages like so:
Which raised the correct PR updating the packages like so:
github.com/aws/aws-sdk-go-v2 v1.16.1 -> github.com/aws/aws-sdk-go-v2 v1.18.0
github.com/satori/go.uuid v1.1.0 -> github.com/satori/go.uuid v1.2.0
golang.org/x/tools v0.7.0 -> golang.org/x/tools v0.8.0
However after updating the renovate.json to exclude the package with an unstable API:
the PR claims that it's no-longer updating the golang.org/x/tools package
Yet it's still include in the PR here
Is this intended behavior?
Is seems as though it's misleading in the PR summary.
Beta Was this translation helpful? Give feedback.
All reactions