Draft: Add reject rule on locked MRs to the merge request policy
What does this MR do and why?
For review apps, we have a new API in https://gitlab.com/api/v4/projects/:project_id/merge_requests/:merge_request_iid/visual_review_discussions
that allows unauthenticated users to post comments on merge requests.
This MR adjusts the rule for locked merge requests to disallow comment creation on it.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.