Skip to content

Commit c2b65fd

Browse files
committed
mergify: dismiss reviewers if PR is updated
1 parent adfa736 commit c2b65fd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.mergify.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,15 @@ pull_request_rules:
9999
- "needs: review"
100100
- "needs: work"
101101

102+
# Remove reviews after the branch is updated. This yet does not allow
103+
# any other action like labels, etc. See mergify-engine/issues/360
104+
- name: remove outdated reviews
105+
conditions: []
106+
actions:
107+
dismiss_reviews:
108+
approved: True
109+
changes_requested: True
110+
102111
# Conflict in the PR - needs: work and a comment to notify a user
103112
- name: "label needs: work when there is a conflict"
104113
conditions:

0 commit comments

Comments
 (0)