Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format (#3085)
Browse files Browse the repository at this point in the history
* ci(mergify): upgrade configuration to current format

* fix mergify

Signed-off-by: Amndeep Singh Mann <[email protected]>

---------

Signed-off-by: Amndeep Singh Mann <[email protected]>
Co-authored-by: Mergify <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Amndeep Singh Mann <[email protected]>
  • Loading branch information
mergify[bot] and Amndeep7 authored Jan 15, 2025
1 parent b3bda80 commit 3ec3c2f
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
queue_rules:
- name: default
conditions:
- name: default # mergify/configuration-deprecated-update
queue_conditions:
- label=ready-to-merge
merge_conditions:
- "#approved-reviews-by>=1"
- base=main
merge_method: squash

pull_request_rules:
- name: automatic merge for main when reviewed and CI passes
conditions:
- label=ready-to-merge
actions:
queue:
name: default
method: squash
- name: delete head branch after merge
conditions:
- merged
Expand All @@ -22,5 +18,5 @@ pull_request_rules:
- conflict
- -author~=^dependabot(|-preview)\[bot\]$
actions:
comment:
message: This pull request has a conflict. Could you fix it @{{author}}?
comment:
message: This pull request has a conflict. Could you fix it @{{author}}?

0 comments on commit 3ec3c2f

Please sign in to comment.