Skip to content

Commit

Permalink
chore(ci): rework mergify configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
selfuryon committed Oct 30, 2024
1 parent b3b62c6 commit e1ff283
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
defaults:
actions:
queue:
allow_merging_configuration_change: true

queue_rules:
- name: default
conditions:
- check-success=buildbot/nix-eval
- "check-success=buildbot/nix-build"
batch_size: 1
batch_max_wait_time: "15 minutes"
merge_method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
pull_request_rules:
- name: Automerge PRs using the merge queue
Expand All @@ -16,10 +18,12 @@ pull_request_rules:
actions:
queue:
name: default
method: squash
delete_head_branch:
force: true

- name: Delete head branch after merge
conditions:
- "closed"
- "merged"
actions:
delete_head_branch: {}

0 comments on commit e1ff283

Please sign in to comment.