Automatically perform Duo Code Review on each merge request
Problem to Solve
Duo Code Review is a valuable part of the review process, but currently requires users to manually ask for reviews.
Proposal
Projects should be able to configure Duo Code Review to automatically run on each MR.
- We add a new setting for
Perform Duo Code Review on merge requests- This setting will live in
/-/settings/merge_requests. -
UnderSettings / General, there will be a link to the above setting to help discoverability.- Decision to remove this link !188069 (comment 2455740483)
- See UX proposal/screenshot in #506537 (comment 2396443367)
- This setting will live in
- When that setting is enabled, we'll automatically perform a review IF
- The merge request has changes
- The merge request is NOT a draft
- If a merge request IS draft, when that status is removed, we'll automatically perform the review
- On subsequent pushes to the merge request we would not automatically trigger a review, users would need to explicitly
re-request a review
Additional Details
The configuration of this setting should be available in the REST API
Edited by Michael Le