Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Nov 26, 2024
1 parent 66fb8b8 commit 18c1556
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
queue_rules:
- name: default
conditions:
queue_conditions:
- author~=^dependabot(|-preview)\[bot\]$
merge_conditions:
# Conditions to get out of the queue (= merged)
- check-success=build
merge_method: merge

pull_request_rules:
- name: Automatic approve on dependabot PR
Expand All @@ -12,18 +15,14 @@ pull_request_rules:
review:
type: APPROVE

- name: Automatic merge on approval
conditions:
- author~=^dependabot(|-preview)\[bot\]$
actions:
queue:
method: merge
name: default

- name: Thank contributor
conditions:
- merged
- -author~=^.*\[bot\]$
actions:
comment:
message: "Thank you @{{author}} for your contribution!"
- name: Automatic merge on approval
conditions: []
actions:
queue:

0 comments on commit 18c1556

Please sign in to comment.