This feature is available on the business and organization plans.

YAML

Type

There are currently two types of groups: required (the default) and optional. Changing the type of group can allow you to design more complex workflows by altering how it plays into the rest of your review process.

Values

required

An active, required group must approve the PR for PullApprove to pass.

This is the default value, but you can use it explicitly if you want.

version: 3
groups:
  code:
    type: required
    ...

optional

This feature is available on the business and organization plans.

An optional group doesn't directly impact the overall PullApprove status. They can approve or reject a PR if they want to cast their vote, but it won't affect your review process unless you leverage conditions later in the process to reincorporate it in a custom way.

version: 3
groups:
  global:
    type: optional
    ...