Skip to content

Commit

Permalink
ci: added a new high priority queue to mergify
Browse files Browse the repository at this point in the history
  • Loading branch information
frazarshad committed Aug 3, 2024
1 parent 5cd99ea commit 67624e3
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Linear queue for the main branch.
queue_rules:
- name: high_priority_main
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body | trim }}
queue_conditions:
- base=master
- label=priority:high
- or:
- check-pending=integration-test-result
- check-success=integration-test-result
- label=bypass:integration
- or:
- and: # breakage succeeds like we thought
- check-success=breakage
- -label=proto:expect-breakage
- and: # breakage fails like we thought
- check-failure=breakage
- label=proto:expect-breakage
merge_conditions:
- base=master
# Require integration tests before merging only
- or:
- label=bypass:integration
- check-success=integration-test-result
- name: main
commit_message_template: |-
{{ title }} (#{{ number }})
Expand Down Expand Up @@ -35,15 +60,13 @@ pull_request_rules:
- label=bypass:linear-history
actions:
queue:
name: main
merge_method: merge
- name: rebase updates then merge to master
conditions:
- base=master
- label=automerge:rebase
actions:
queue:
name: main
merge_method: merge
update_method: rebase
- name: squash to master
Expand All @@ -52,5 +75,4 @@ pull_request_rules:
- label=automerge:squash
actions:
queue:
name: main
merge_method: squash

0 comments on commit 67624e3

Please sign in to comment.