Skip to content

Commit 939caa3

Browse files
authored
Use new queue rules for mergify bot (#2301)
* Use new queue rules * Add queue action * Remove method from the queue rule * Correct yaml * Comment about empty conditions
1 parent 2feabf3 commit 939caa3

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/mergify.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
queue_rules:
2+
- name: default
3+
# Mergify always respects the branch protection settings
4+
# so we can left empty mergify own ones
5+
conditions: []
6+
17
pull_request_rules:
2-
- actions:
3-
merge:
4-
strict: smart+fasttrack
5-
method: squash
6-
name: Automatically merge pull requests
8+
- name: Automatically merge pull requests
79
conditions:
810
- label=merge me
911
- '#approved-reviews-by>=1'
12+
actions:
13+
queue:
14+
method: squash
15+
name: default

0 commit comments

Comments
 (0)