Skip to content

Commit

Permalink
Merge pull request #4114 from anoma/mergify/bp/maint-0.46/pr-4100
Browse files Browse the repository at this point in the history
mergify: move autosquash to queue_rules (backport #4100)
  • Loading branch information
mergify[bot] authored Nov 29, 2024
2 parents 998c1f5 + 1784b1e commit 65e1f67
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,32 @@ queue_rules:
- "#approved-reviews-by >= 1"
- base = main
merge_method: merge
autosquash: true

- name: backport-0.46-queue
batch_size: 3
queue_conditions:
- "#approved-reviews-by >= 1"
- base = maint-0.46
merge_method: merge
autosquash: true

pull_request_rules:
- name: automatic merge to main or backport branch
conditions:
- label = "merge"
- label != "do-not-merge"
- "#approved-reviews-by >= 1"
- or:
- base = main
- base = maint-0.46
- label = "merge"
- label != "do-not-merge"
- "#approved-reviews-by >= 1"
- or:
- base = main
- base = maint-0.46
actions:
queue:
autosquash: true

- name: notify when a PR is removed from the queue
conditions:
- queue-dequeue-reason != none
- queue-dequeue-reason != pr-merged
- queue-dequeue-reason != none
- queue-dequeue-reason != pr-merged
actions:
comment:
message: >
Expand Down

0 comments on commit 65e1f67

Please sign in to comment.