Skip to content

Commit

Permalink
ci: added high priority queue (#18)
Browse files Browse the repository at this point in the history
Adds a new high priority queue to mergify

Based on: Agoric/agoric-sdk#9802
  • Loading branch information
mergify[bot] authored Aug 1, 2024
2 parents 6c47a03 + 26c638e commit c8a9d67
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Linear queue for the main branch.
queue_rules:
- name: high_priority_main
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body | trim }}
queue_conditions:
- base=main
- label=priority:high
- or:
- check-pending=integration-test-result
- check-success=integration-test-result
- label=bypass:integration
merge_conditions:
- base=main
# 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 @@ -28,15 +46,13 @@ pull_request_rules:
- label=bypass:linear-history
actions:
queue:
name: main
merge_method: merge
- name: rebase updates then merge to main
conditions:
- base=main
- label=automerge:rebase
actions:
queue:
name: main
merge_method: merge
update_method: rebase
- name: squash to main
Expand All @@ -45,5 +61,4 @@ pull_request_rules:
- label=automerge:squash
actions:
queue:
name: main
merge_method: squash

0 comments on commit c8a9d67

Please sign in to comment.