mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 11:50:18 +00:00
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:
parent
ae67534a44
commit
2192d40937
@ -1,5 +1,12 @@
|
||||
---
|
||||
pull_request_rules:
|
||||
- name: remove outdated approvals
|
||||
conditions:
|
||||
- base=master
|
||||
actions:
|
||||
dismiss_reviews:
|
||||
approved: true
|
||||
changes_requested: false
|
||||
- name: automatic merge
|
||||
conditions:
|
||||
- label!=DNM
|
||||
|
Loading…
Reference in New Issue
Block a user