Skip to content

Commit

Permalink
feat: automate queue for merge (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronraysmith authored Sep 12, 2023
1 parent 160934a commit f13db8b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ pull_request_rules:
assign:
add_users:
- "{{ author }}"
- name: automatic merge for main when CI passes and 2 reviews and not WIP
- name: automatic queue when not WIP, CI passes, and at least 1 approving review
conditions:
- "#approved-reviews-by>=1"
- check-success=test (3.10)
- check-success=build-and-push-image
- base=main
- label!=work-in-progress
actions:
merge:
queue:
method: squash
name: default
queue_rules:
- name: default
conditions:
- check-success=test (3.10)
- check-success=build-and-push-image

0 comments on commit f13db8b

Please sign in to comment.