Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(mergify): upgrade configuration to current format #996

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 10 additions & 11 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,30 @@
queue_rules:
- name: default
conditions: []

pull_request_rules:
- name: Automatic merge on approval
conditions:
queue_conditions:
- and:
- 'base==master'
- '#review-threads-unresolved=0'
- '#changes-requested-reviews-by=0'
- 'label!=do-not-merge'
- '#approved-reviews-by>=1'
actions:
queue:
name: default
method: squash
merge_conditions: []
merge_method: squash

pull_request_rules:
- name: remove outdated reviews for non trusted authors
conditions:
- and:
- base=master
- author!=@ecopod
actions:
dismiss_reviews: {}

- name: Ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: Hey @{{author}}! This PR has merge conflicts. Please fix them before continuing review.
message: Hey @{{author}}! This PR has merge conflicts. Please fix them before
continuing review.
label:
add:
- conflict
Expand Down Expand Up @@ -68,3 +63,7 @@ pull_request_rules:
comment:
message: |
Congrats! Your token has been merged. Consider joining our Discord to stay up to date with other builders in the ecosystem. Make sure to drink plenty of water.
- name: Automatic merge on approval
conditions: []
actions:
queue:
Loading