TriggerFilterGroup
A set of conditions that start an automatic code review when they all pass. A filter group must include events, filters, or both.
Contents
- events
-
Passes when the pull request event is one of the listed events. If you omit this, the group matches
PULL_REQUEST_READY_FOR_REVIEWandPULL_REQUEST_DRAFTevents only.Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 10 items.
Valid Values:
PULL_REQUEST_READY_FOR_REVIEW | PULL_REQUEST_DRAFT | PULL_REQUEST_LABEL_ADDEDRequired: No
- filters
-
Passes when every filter passes. If you omit this, the group matches its events on any target branch and with any labels.
Type: Array of TriggerFilter objects
Array Members: Minimum number of 1 item. Maximum number of 5 items.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: