Skip to content

Commit

Permalink
Merge pull request #13 from michaelfig/mfig-consolidate-mergify
Browse files Browse the repository at this point in the history
ci(mergify): consolidate `queue_conditions`
  • Loading branch information
michaelfig authored Jun 14, 2024
2 parents d37e700 + a4c3c22 commit 4c86871
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ queue_rules:
{{ body | trim }}
queue_conditions:
- base=main
- 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:
Expand All @@ -20,10 +26,6 @@ pull_request_rules:
- or:
- '#commits-behind=0'
- label=bypass:linear-history
- or:
- check-pending=integration-test-result
- check-success=integration-test-result
- label=bypass:integration
actions:
queue:
name: main
Expand All @@ -32,10 +34,6 @@ pull_request_rules:
conditions:
- base=main
- label=automerge:rebase
- or:
- check-pending=integration-test-result
- check-success=integration-test-result
- label=bypass:integration
actions:
queue:
name: main
Expand All @@ -45,10 +43,6 @@ pull_request_rules:
conditions:
- base=main
- label=automerge:squash
- or:
- check-pending=integration-test-result
- check-success=integration-test-result
- label=bypass:integration
actions:
queue:
name: main
Expand Down

0 comments on commit 4c86871

Please sign in to comment.