Skip to content

Add `report_type` to Approval Rules APIs

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

This Merge Request adds support to the following Approval Rules APIs for exposing the report_type field:

  • Project Approval Rules
  • Group Approval Rules
  • Merge Request Approval Rules

This provides functionality that's needed by the GitLab Terraform Provider to add support for things like CodeCoverage approval rules.

MR acceptance checklist

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

Edited by Patrick Rice

Merge request reports