Skip to content

Commit

Permalink
mergify: dismiss reviewers if PR is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
0xc0170 committed Jan 20, 2020
1 parent adfa736 commit c2b65fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,15 @@ pull_request_rules:
- "needs: review"
- "needs: work"

# Remove reviews after the branch is updated. This yet does not allow
# any other action like labels, etc. See mergify-engine/issues/360
- name: remove outdated reviews
conditions: []
actions:
dismiss_reviews:
approved: True
changes_requested: True

# Conflict in the PR - needs: work and a comment to notify a user
- name: "label needs: work when there is a conflict"
conditions:
Expand Down

0 comments on commit c2b65fd

Please sign in to comment.