mergify: Remove approved review when a PR changes

When people have reviewed a PR, and the contributor updates it, the
reviews are staying valid. This is unfortunate as the PR might need new
corrections.

Ideally a positive review (Approved) needs to be given again. And there
needs to be a confirmation that a negative review (Changes requested)
has been addressed.

Closes: #505
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2019-09-02 13:45:21 +02:00
parent ae67534a44
commit 2192d40937

View File

@ -1,5 +1,12 @@
--- ---
pull_request_rules: pull_request_rules:
- name: remove outdated approvals
conditions:
- base=master
actions:
dismiss_reviews:
approved: true
changes_requested: false
- name: automatic merge - name: automatic merge
conditions: conditions:
- label!=DNM - label!=DNM