ci: fix pullapprove_conditions (#35011)

PR Close #35011
This commit is contained in:
Joey Perrott 2020-01-28 09:29:36 -08:00
parent 296dc0622f
commit d15d6b7a63
1 changed files with 8 additions and 1 deletions

View File

@ -95,9 +95,16 @@ version: 3
github_api_version: "shadow-cat-preview" github_api_version: "shadow-cat-preview"
pullapprove_conditions: pullapprove_conditions:
- condition: "'WIP' not in title and 'PR state: WIP' not in labels and not draft" - condition: "'WIP' not in title"
unmet_status: pending unmet_status: pending
explanation: "Waiting to send reviews as PR is WIP" explanation: "Waiting to send reviews as PR is WIP"
- condition: "'PR state: WIP' not in labels"
unmet_status: pending
explanation: "Waiting to send reviews as PR is WIP"
- condition: "not draft"
unmet_status: pending
explanation: "Waiting to send reviews as PR is in draft"
groups: groups:
# ========================================================= # =========================================================