Skip to content

Commit

Permalink
Merge pull request stoneatom#3 from StarLabsm/mergify/hustjieke/confi…
Browse files Browse the repository at this point in the history
…g-update

ci(Mergify): configuration update
  • Loading branch information
hustjieke authored Jul 8, 2022
2 parents c46129a + 9ab539e commit 363d77b
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .mergify.yml
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.

0 comments on commit 363d77b

Please sign in to comment.