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
This commit is contained in:
Javier Neira 2021-10-28 19:17:05 +02:00 committed by GitHub
parent 2feabf3583
commit 939caa36b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
.github/mergify.yml vendored
View File

@ -1,9 +1,15 @@
queue_rules:
- name: default
# Mergify always respects the branch protection settings
# so we can left empty mergify own ones
conditions: []
pull_request_rules:
- actions:
merge:
strict: smart+fasttrack
method: squash
name: Automatically merge pull requests
- name: Automatically merge pull requests
conditions:
- label=merge me
- '#approved-reviews-by>=1'
actions:
queue:
method: squash
name: default