Skip to content

Commit

Permalink
Merge pull request #28 from haskell-cryptography/mergify/configuratio…
Browse files Browse the repository at this point in the history
…n-deprecated-update

ci(mergify): upgrade configuration to current format
  • Loading branch information
Kleidukos authored Nov 18, 2024
2 parents 0bb8d34 + d0d1af3 commit 58ca00a
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,16 @@

pull_request_rules:
# rebase+merge strategy
- actions:
- name: refactored queue action rule
actions:
queue:
name: default
# Merge into master with a merge commit
method: merge
# Update the pr branch with rebase, so the history is clean
update_method: rebase
name: Put pull requests in the rebase+merge queue
conditions:
queue_rules:
- name: default
queue_conditions:
- label=merge me
- '#approved-reviews-by>=1'
# merge+squash strategy
- actions:
queue:
name: default
method: squash
# both update methods get absorbed by the squash, so we use the most
# reliable
update_method: merge
name: Put pull requests in the squash+merge queue
conditions:
- label=squash+merge me
- '#approved-reviews-by>=1'

queue_rules:
- name: default
conditions: []
merge_method: squash
update_method: merge

0 comments on commit 58ca00a

Please sign in to comment.