-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat: add support for setting assignees/reviewers from code owners #6244
feat: add support for setting assignees/reviewers from code owners #6244
Conversation
Missing things:
|
lib/config/common.ts
Outdated
@@ -161,6 +162,15 @@ export interface RenovateConfig | |||
regexManagers?: CustomManager[]; | |||
} | |||
|
|||
export interface AssigneesAndReviewersConfig { | |||
assigneesFromCodeowners?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure whether I like this name. Alternative ideas?
…er/renovate into feat/assignees-from-codeowners
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Pulled changes from master. Error in Windows run seems unrelated to my changes?!:
|
Erm, 082cd4e#diff-5a082d2a82fa7048de40c1d26bf82af0 removed |
@rarkins How should we proceed here? Add back the missing function or drop this approach? |
@fgreinacher sorry for breaking your PR! Just now I was thinking that in theory we should be able to know which files are changed in our own PRs without asking the platform. However then I realized that we have scenarios where the branch (i.e. commit) is done in one run and the PR created in another. We could probably be able to determine from config which package files are changed, but not which lock files. Another platform-independent approach (and hence much less maintenance than the previous getPrFiles) would be to use |
No worries!
True, also people might have post-upgrade commands that modify things.
Sounds reasonable, looking on this now. |
@fgreinacher I think it looks good. Maybe reduce duplication by moving the I had also wondered if we should make it |
Yeah, that sounds reasonable. 647610f moves the core I did not find a cool way to get rid of the duplication across platforms, but it's just a one-liner, so OK IMO. I also excluded those one-liners from coverage (similar to some other functions that mainly forward to storage). |
Co-authored-by: Rhys Arkins <rhys@arkins.net>
🎉 This PR is included in version 20.13.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Closes #6016