Commit a436d486 authored by Matthew Slipper's avatar Matthew Slipper

ci: Fix mergify config

The config was invalid, and we reached the maximum number of nested rules.
parent 55dc75db
...@@ -5,24 +5,23 @@ queue_rules: ...@@ -5,24 +5,23 @@ queue_rules:
pull_request_rules: pull_request_rules:
- name: Automatic merge on approval - name: Automatic merge on approval
conditions: conditions:
and: - and:
- "#review-threads-unresolved=0"
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- "label!=do-not-merge" - "label!=do-not-merge"
- and: - or:
- "#review-threads-unresolved=0" - and:
- "#approved-reviews-by>=2" - "label!=SR-Risk"
- "#changes-requested-reviews-by=0" - "label!=C-Protocol-Critical"
- or: - and:
- and: - "label=SR-Risk"
- "label!=SR-Risk" - "approved-reviews-by=maurelian"
- "label!=C-Protocol-Critical" - and:
- and: - "label=C-Protocol-Critical"
- "label=SR-Risk" - or:
- "approved-reviews-by=maurelian" - "approved-reviews-by=tynes"
- and: - "approved-reviews-by=smartcontracts"
- "label=C-Protocol-Critical"
- or:
- "approved-reviews-by=tynes"
- "approved-reviews-by=smartcontracts"
actions: actions:
queue: queue:
name: default name: default
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment