From 51d31fa8c11e46af884ea0c76cd88f0122d64571 Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Wed, 8 Jan 2020 10:37:51 -0800 Subject: [PATCH] Update pull approve configuration The current configuration does not work with approvals, this configuration is mirrored from the distribution spec which does work correctly. Signed-off-by: Derek McGowan --- .pullapprove.yml | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/.pullapprove.yml b/.pullapprove.yml index 45fa4b9..b6165f8 100644 --- a/.pullapprove.yml +++ b/.pullapprove.yml @@ -1,12 +1,28 @@ -approve_by_comment: true -approve_regex: '^(Approved|lgtm|LGTM|:shipit:|:star:|:\+1:|:ship:)' -reject_regex: ^Rejected -reset_on_push: true -author_approval: ignored -signed_off_by: - required: true -reviewers: - teams: - - go-digest-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: + go-digest: + teams: + - go-digest-maintainers