From 5a42185030404424fb15bdfaa893be1e9e85d24e Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Thu, 21 Dec 2017 16:39:12 +0000 Subject: [PATCH] CI: Enable pullapprove Require two approvals from documentation team members before a PR can land. The configuration file is the same as those used for the other repos, except for the approval team name. Fixes #2. 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 00000000..180546bf --- /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: + - documentation