Skip to content

Commit

Permalink
ci(Mergify): configuration update
Browse files Browse the repository at this point in the history
Signed-off-by: ​Andrzej Ressel <[email protected]>
  • Loading branch information
andrzejressel committed Mar 18, 2024
1 parent 0b49c5f commit 1c00f33
Showing 1 changed file with 23 additions and 18 deletions.
41 changes: 23 additions & 18 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
queue_rules:
- name: default
conditions: []

pull_request_rules:
- name: automatic merge for main when CI passes
conditions:
- base=main
- or:
- label=ready-to-merge
- label=dependencies
actions:
queue:
name: default
- name: delete head branch after merge
conditions:
- merged
actions:
queue_rules:
- name: default
merge_method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
pull_request_rules:
- name: automatic merge for main when CI passes
conditions:
- base=main
- or:
- label=ready-to-merge
- label=dependencies
actions:
queue:
name: default

- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch:

0 comments on commit 1c00f33

Please sign in to comment.