From 27fc458ef63bd0948f484ca3313bf8d3f5255de5 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 21 Dec 2017 13:44:07 -0800 Subject: [PATCH] build: fix pullapprove (#21140) Currently it gives a green status if I edit a file I'm an owner of, even without anyone else's approval. PR Close #21140 --- .pullapprove.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.pullapprove.yml b/.pullapprove.yml index fea7dc8788..6d4e0aef5f 100644 --- a/.pullapprove.yml +++ b/.pullapprove.yml @@ -30,20 +30,28 @@ version: 2 group_defaults: required: 1 - # Require a github code review approval - github_reviews: - enabled: true reset_on_reopened: enabled: true approve_by_comment: enabled: false # see http://docs.pullapprove.com/groups/author_approval/ author_approval: - # If the author is a reviewer on the PR, they will automatically have an - # "approved" status. + # If the author is a reviewer on the PR, they will automatically have an "approved" status. auto: true groups: + # Require all PRs to have at least one approval from *someone* + all: + users: all + required: 1 + # In this group, your self-approval does not count + author_approval: + auto: false + ignored: true + files: + include: + - "*" + root: conditions: files: