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] authored and ezr-ondrej committed Nov 22, 2024
1 parent 4e7e4d1 commit 98d5b6b
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
queue_rules:
- name: edge-frontend
conditions:
- base=master
- "#approved-reviews-by>=1"
pull_request_rules:
- name: Automatic merge on approval
conditions:
queue_conditions:
- base=master
- "#approved-reviews-by>=2"
- "#changes-requested-reviews-by=0"
- check-success=Travis CI - Pull Request
- check-success=Travis CI - Pull Request
- label!=work in progress
- label!=do not merge
actions:
queue:
name: edge-frontend
method: rebase
merge_conditions:
- base=master
- "#approved-reviews-by>=1"
merge_method: rebase

pull_request_rules:
- name: warn on conflicts
conditions:
- conflict
actions:
comment:
message: "This pull request is now in conflicts. Could you fix it @{{author}}? 🙏"
message: "This pull request is now in conflicts. Could you fix it @{{author}}?
🙏"
label:
add:
- conflict
Expand All @@ -39,18 +37,20 @@ pull_request_rules:
- updated-at<15 days ago
actions:
comment:
message: "This pull request is now 15 days old. Please revisit. PR will be closed in 15 more days. @{{author}}"
message: "This pull request is now 15 days old. Please revisit. PR will be
closed in 15 more days. @{{author}}"
label:
add:
- stale warning
- stale warning
- name: close stale pull request
conditions:
- base=master
- -closed
- updated-at<30 days ago
actions:
close:
message: "This pull request looks stale. Feel free to reopen it if you think it's a mistake."
message: "This pull request looks stale. Feel free to reopen it if you think
it's a mistake."
- name: waiting for review
conditions:
- "#approved-reviews-by<1"
Expand Down Expand Up @@ -123,4 +123,8 @@ pull_request_rules:
label:
remove:
- test update


- name: refactored queue action rule
conditions: []
actions:
queue:

0 comments on commit 98d5b6b

Please sign in to comment.