Skip to content

Commit

Permalink
[CI] mergify to merge if no-requested review and no changes are left
Browse files Browse the repository at this point in the history
  • Loading branch information
ogeorget-psee committed Nov 30, 2022
1 parent 8e5f9c5 commit e6dfec8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
queue_rules:
- name: default
conditions:
conditions: &ChecksQueue
- "#approved-reviews-by>=1"
- label!=not-ready
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label=ready-to-merge

pull_request_rules:
- name: Automatic merge on approval & CI
conditions:
- "#approved-reviews-by>=1"
- check-success=Ubuntu 18
- check-success=Ubuntu 20
- check-success=Windows
- base=main
- label!=not-ready
- and: *ChecksQueue
actions:
queue:
name: default
Expand Down

0 comments on commit e6dfec8

Please sign in to comment.