Help Center/ CodeArts Repo/ User Guide/ Using CodeArts Repo/ Managing MRs/ Detailed Description of Review Gate
Updated on 2024-07-05 GMT+08:00

Detailed Description of Review Gate

The review gate supports only the merge requests whose merge mechanism is Approval.

Opening/Closing the Gate

  1. Go to the target repository and choose Settings > Policy Settings > Merge Requests.
  2. Click Create to configure a branch policy for the target branch.
  3. Configure the Gate.

    • Set Reviewers Required to a number except 0 and click OK to save the settings. The gate is enabled.
    • Set Reviewers Required to 0 and click OK to save the settings. The gate is closed.

Effect of Gate Triggering

  • Review gate: passed: It is displayed when the number of reviewers who give pass reaches the Reviewers Required.

  • Review gate: failed: It is displayed when the number of reviewers who give pass does not reach the Reviewers Required.

Passing of the Gate

After completing the review, the reviewer needs to choose Details > Review Gate and click Pass. The review is passed. For details, see Setting Branch Policies.