From 967bbd170aaf4e74396f5367e255472e183d5497 Mon Sep 17 00:00:00 2001 From: Ma Shimiao Date: Thu, 29 Jun 2017 13:25:35 +0800 Subject: [PATCH] update pullapprove config update to v2 Signed-off-by: Ma Shimiao --- .pullapprove.yml | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/.pullapprove.yml b/.pullapprove.yml index c211cc51b..550dfa08e 100644 --- a/.pullapprove.yml +++ b/.pullapprove.yml @@ -1,12 +1,28 @@ -approve_by_comment: true -approve_regex: ^LGTM -reject_regex: ^Rejected -reset_on_push: true -author_approval: ignored -signed_off_by: - required: true -reviewers: - teams: - - runtime-tools-maintainers - name: default +version: 2 + +requirements: + signed_off_by: + required: true + +always_pending: + title_regex: '^WIP' + explanation: 'Work in progress...' + +group_defaults: required: 2 + approve_by_comment: + enabled: true + approve_regex: '^LGTM' + reject_regex: '^Rejected' + reset_on_push: + enabled: true + author_approval: + ignored: true + conditions: + branches: + - master + +groups: + runtime-tools: + teams: + - runtime-tools-maintainers