-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification of "updatePullRequests" for grouped PRs #3318
Comments
so from digging around it looks like the observed behaviour doesn't match the intention of the "always" strategy. scala-steward/modules/core/src/main/scala/org/scalasteward/core/nurture/NurtureAlg.scala Lines 275 to 292 in 996af6a
This code suggests if the strategy is This makes me wonder if there should be an update strategy for when you want ScalaSteward to always update if it's out of date with the main branch, and if its up to date skip, e.g. |
Hi, For grouped updates the rules are slightly different. |
Yes, this is running on Github.com.
In what way? |
thanks I don't know the logic. I will try to understand and come back... |
When using
updatePullRequests = "always"
, if Scala Steward PRs are up-to-date with the main branch then running Scala Steward will not push commits to these branches. This is what I would expect to happen. However, for the minor updates PR, Scala Steward will re-commit the changes regardless of already being up-to-date with the main branch.Firstly, is it expected that using an
updatePullRequests
strategy of "always" should not update PRs that are up-to-date with main?Secondly, if the above is true, should the grouped PRs follow this same convention? And if not, should there be a way to separately configure the
updatePullRequests
strategy of grouped dependencies?The only reference I can find to something similar is this comment - #3051 (comment)
This seems to suggest that the commits should be applied again. However the behaviour may have changed since then that I can't find any documentation of.
The text was updated successfully, but these errors were encountered: