-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): update mergify bot breaking change
- Loading branch information
1 parent
f2a4818
commit a1ee4e9
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |