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
This commit is contained in:
Alex Eagle 2017-12-21 13:44:07 -08:00 committed by Igor Minar
parent 0487a9f140
commit 27fc458ef6
1 changed files with 13 additions and 5 deletions

View File

@ -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: