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 22, 2024
1 parent 23a46ae commit 11aff3b
Showing 1 changed file with 48 additions and 15 deletions.
63 changes: 48 additions & 15 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,56 @@
queue_rules:
- name: duplicated default from Automatic merge on successful docsite update from
bot
queue_conditions:
- "#approved-reviews-by>=1"
- -label~=(do-not-merge)
- status-success=build
- status-success=Vercel
- -merged
- -closed
- "#changes-requested-reviews-by=0"
- "#review-threads-unresolved=0"
- "title=feat(docs): update docs"
- "#commits=1"
- -label~=(do-not-merge)
- status-success=build
- status-success=Vercel
- author=monadabot
- -merged
- -closed
- "#changes-requested-reviews-by=0"
- "#review-threads-unresolved=0"
merge_conditions: []
merge_method: squash
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
method: squash
- name: default
conditions:
queue_conditions:
- "#approved-reviews-by>=1"
- -label~=(do-not-merge)
- status-success=build
- status-success=Vercel
- -merged
- -closed
- "#changes-requested-reviews-by=0"
- "#review-threads-unresolved=0"
merge_conditions:
- status-success=build
- status-success=Vercel
- -label~=(do-not-merge)
merge_method: squash
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
pull_request_rules:
- name: Automatic merge on approval and successful build
actions:
delete_head_branch: {}
queue:
method: squash
name: default
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
conditions:
- "#approved-reviews-by>=1"
- -label~=(do-not-merge)
Expand All @@ -27,13 +63,6 @@ pull_request_rules:
- name: Automatic merge on successful docsite update from bot
actions:
delete_head_branch: {}
queue:
method: squash
name: default
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
conditions:
- "title=feat(docs): update docs"
- "#commits=1"
Expand All @@ -45,3 +74,7 @@ pull_request_rules:
- -closed
- "#changes-requested-reviews-by=0"
- "#review-threads-unresolved=0"
- name: refactored queue action rule
conditions: []
actions:
queue:

0 comments on commit 11aff3b

Please sign in to comment.