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 aebc110 commit 67d3cdf
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
queue_rules:
- name: default
conditions:
queue_conditions:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- status-success=tests (ubuntu-latest)
- status-success=tests (macos-12)
- base=master
- label=automerge-squash
merge_conditions:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- status-success=tests (ubuntu-latest)
- status-success=tests (macos-12)
merge_method: squash
commit_message_template: |
{{ title }} (#{{ number }})
{{ title }} (#{{ number }})
{{ body }}
{{ body }}
pull_request_rules:
- name: Automatic merge (squash)
Expand All @@ -21,27 +29,26 @@ pull_request_rules:
- base=master
- label=automerge-squash
actions:
queue:
name: default
method: squash
delete_head_branch: {}
queue:
- name: Automatically closing successful trials
conditions:
- status-success=tests (ubuntu-latest)
- status-success=tests (macos-12)
- label=autoclose
actions:
close:
message: CI looks good, this dependency bump would not cause problems, hence closing this trial PR.
message: CI looks good, this dependency bump would not cause problems, hence
closing this trial PR.
delete_head_branch: {}
- name: Clean up automerge tags
conditions:
- closed
actions:
label:
remove:
- automerge-squash
- autoclose
- automerge-squash
- autoclose
- name: Auto-approve auto-PRs
conditions:
- author=dfinity-bot
Expand Down Expand Up @@ -71,4 +78,4 @@ pull_request_rules:
message: A change to `doc/docusaurus/package-lock.json`? I can handle that!
label:
add:
- automerge-squash
- automerge-squash

0 comments on commit 67d3cdf

Please sign in to comment.