From 0e232f1b001ca63b137599d3046024536ad7e67d Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Tue, 16 Jan 2018 11:44:24 +0000 Subject: [PATCH] CI: Add pullapprove config Add a Pullapprove config file to require 2 ack's for all PRs. Fixes #12. Signed-off-by: James O. D. Hunt --- .pullapprove.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .pullapprove.yml diff --git a/.pullapprove.yml b/.pullapprove.yml new file mode 100644 index 0000000000..c974700afe --- /dev/null +++ b/.pullapprove.yml @@ -0,0 +1,32 @@ +version: 2 + +requirements: + signed_off_by: + required: true + +# Disallow approval of PRs still under development +always_pending: + title_regex: '(WIP|RFC)' + labels: + - do-not-merge + - wip + - rfc + explanation: 'Work in progress - do not merge' + +group_defaults: + approve_by_comment: + enabled: true + approve_regex: '^(LGTM|lgtm|Approved|\+1|:\+1:)' + reject_regex: '^(Rejected|-1|:-1:)' + reset_on_push: + enabled: false + reset_on_reopened: + enabled: false + author_approval: + ignored: true + +groups: + approvers: + required: 2 + teams: + - community