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
Allow Merging reviewers
?
#5121
Comments
@straub the "problem" with merging the reviewer field is that it then wouldn't allow you to ever override reviewers. Within Renovate users it's common that people define a default reviewer at the top level but want an alternative reviewer or reviewers for specific files or packages (similar to your use case, but they don't want the original reviewer included). If Renovate merged reviewers by default then it would mean you couldn't remove that top-level reviewer. In your case, can you do the following instead? i.e. a non-preset approach:
|
@rarkins Thanks for your reply! I had a hunch it was something like that :) I can definitely do what you've described, but I'm searching for a better process for reviewer management because my Would you be open to a PR for a new config option to support this use-case? I'm imagining something like Really appreciate your time, both helping me here and supporting this amazing tool. |
@straub I'm definitely ok with the idea of supporting mergeable reviewers - we just need to work out the syntax. I prefer to leave the existing name ( |
🎉 This issue has been resolved in version 19.97.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What would you like Renovate to be able to do?
I'd like to be able to merge
reviewers
arrays across preset configs.For example:
I'd expect both reviewers to be added, but instead "bar" seems to displace "foo" as the sole reviewer.
Describe the solution you'd like
The
reviewers
option could be flaggedmergeable
in its definition.Describe alternatives you've considered
Individual repo configs that want to add additional focused reviewers have to repeat default reviewers normally provided by our custom preset, which makes managing that list of default users more difficult.
If I'm overlooking a better solution, please let me know!
Additional context
If this is not an intentional omission, I'd be very much open to attempting a PR for it!
The text was updated successfully, but these errors were encountered: