Skip to content

Commit

Permalink
chore(ci): update mergify bot breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
heitorlessa committed Jan 11, 2022
1 parent f2a4818 commit a1ee4e9
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success=Semantic Pull Request
- "#approved-reviews-by>=1"
- -title~=(WIP|wip)
- -label~="do-not-merge"
- "#changes-requested-reviews-by=0"

pull_request_rules:
- name: automatic merge for Dependabot pull requests
conditions:
- author~=^dependabot(|-preview)\[bot\]$
# - check-success=build # matrix jobs aren't working in mergify
- -label~="do-not-merge"
- "#approved-reviews-by>=1" # until we exclude major versions in dependabot
actions:
merge:
strict: false
queue:
method: squash
commit_message: title+body

- name: Automatic merge ⬇️ on approval ✔
conditions:
- base!=master
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- -title~=(WIP|wip)
# - check-success=build # matrix jobs aren't working in mergify
- check-success=Semantic Pull Request
- body~=(?m)^\[X\] Meet tenets criteria
- "#approved-reviews-by>=2"
actions:
merge:
strict: smart
queue:
method: squash
strict_method: merge
commit_message: title+body

0 comments on commit a1ee4e9

Please sign in to comment.