forked from stoneatom/stonedb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request stoneatom#3 from StarLabsm/mergify/hustjieke/confi…
…g-update ci(Mergify): configuration update
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
queue_rules: | ||
- name: shared_queue | ||
conditions: | ||
- "#approved-reviews-by>=2" | ||
- check-success=stonedb-build | ||
|
||
pull_request_rules: | ||
- name: put bug fix to queue on approval with high priority | ||
conditions: | ||
- "#approved-reviews-by>=2" | ||
- check-success=stonedb-build | ||
- label=A-bug | ||
|
||
actions: | ||
queue: | ||
name: shared_queue | ||
|
||
- name: put other pr to queue | ||
conditions: | ||
- "#approved-reviews-by>=2" | ||
- check-success=stonedb-build | ||
- label!=A-bug | ||
|
||
actions: | ||
queue: | ||
name: shared_queue | ||
|
||
# if there is a conflict in a approved PR, ping the author. | ||
- name: ping author on conflicts | ||
conditions: | ||
- conflict | ||
- "#approved-reviews-by >= 2" | ||
actions: | ||
comment: | ||
message: | | ||
This pull request has merge conflicts that must be resolved before it can be merged. @{{author}} please update it 🙏. | ||
Try `@mergify update` or update manually. | ||
- name: Welcome new contributor | ||
conditions: | ||
- author!=Mergify | ||
actions: | ||
comment: | ||
message: | | ||
Thanks for the contribution! | ||
I have applied any labels matching special text in your PR Changelog. | ||
Please review the labels and make any necessary changes. |