filter drafts (#2897)

This commit is contained in:
Jirka Borovec 2020-08-09 23:28:00 +02:00 committed by GitHub
parent 1ac507a255
commit 5b53e40a92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,8 @@ pull_request_rules:
- -conflict
# was not closed yet
- -closed
# filter-out GH draft PRs
- -draft
actions:
delete_head_branch: {}
merge:
@ -36,12 +38,16 @@ pull_request_rules:
- name: warn on conflicts
conditions:
- conflict
# filter-out GH draft PRs
- -draft
actions:
comment:
message: This pull request is now in conflict... :(
- name: add core reviewer
conditions:
# filter-out GH draft PRs
- -draft
# number of review approvals
- "#approved-reviews-by<3"
actions: