Add publish_review param to approve API endpoint

What does this MR do and why?

Adds a publish_review boolean param to the approve API endpoint that will submit any pending review comments before approving.

References

#562579 (closed)

Screenshots or screen recordings

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading