Project Approval Rule
Example Usage
Import
GitLab project approval rules can be imported using a key composed of <project-id>:<rule-id>, e.g.
$ pulumi import gitlab:index/projectApprovalRule:ProjectApprovalRule example "12345:6"Content copied to clipboard
Properties
Link copied to clipboard
Whether the rule is applied to all protected branches. If set to 'true', the value of protected_branch_ids is ignored. Default is 'false'.
Link copied to clipboard
The number of approvals required for this rule.
Link copied to clipboard
When this flag is set, the default any_approver rule will not be imported if present.
Link copied to clipboard
A list of protected branch IDs (not branch names) for which the rule applies.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Report type is required when the rule_type is report_approver. Valid values are code_coverage.