Skip to content

Commit

Permalink
update backports strategy for #10260
Browse files Browse the repository at this point in the history
  • Loading branch information
geekosaur committed Aug 22, 2024
1 parent 9b8aa7a commit 71ee97c
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ pull_request_rules:
- actions:
queue:
name: default
# Merge with a merge commit
method: merge
# Update the pr branch with rebase, so the history is clean
update_method: rebase
name: Put release branch pull requests in the rebase+merge queue
conditions:
- label=merge me
Expand All @@ -73,11 +69,7 @@ pull_request_rules:
# merge+squash strategy for release branches
- actions:
queue:
name: default
method: squash
# both update methods get absorbed by the squash, so we use the most
# reliable
update_method: merge
name: squash-merge
name: Put release branch pull requests in the squash+merge queue
conditions:
- base!=master
Expand All @@ -90,7 +82,6 @@ pull_request_rules:
- actions:
queue:
name: default
# Merge with a merge commit
name: Put backports in the rebase+merge queue
conditions:
- label=merge me
Expand Down Expand Up @@ -126,6 +117,7 @@ queue_rules:
update_bot_account: Mikolaj
merge_method: merge
update_method: rebase

- name: squash-merge
update_bot_account: Mikolaj
merge_method: squash
Expand Down

0 comments on commit 71ee97c

Please sign in to comment.