Help Center> CodeArts Check> User Guide> (Optional) Configuring Tasks> Configuring an Automatic Check Task for Branch Merge
Updated on 2023-11-28 GMT+08:00

Configuring an Automatic Check Task for Branch Merge

If branch merging exists in CodeArts Repo, you can configure an automatic check task and generate a subtask. That is, if branch merging exists in a code repository, a new code check subtask is generated.

Procedure

  1. Go to the Task page. In the task list, click a task name.
  2. On the displayed View Task Details page, click Settings > Integration Services > CodeArts Repo.
  3. Determine whether to select MR Status (MR indicates merge requests). If you select it, the automatic check of code review is enabled.
  4. If a branch is merged in the code repository of the task, a code check job is automatically generated.

    1. Access View Task Details page.
    2. Click and create a merge request in CodeArts Repo.

      Based on the Check Modes you selected, the changed files or full code will be checked after the branch is merged.

    3. Click . You can view all historical records of MR-triggered code check in the drop-down list.