forked from winglang/wing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
57 lines (55 loc) · 1.97 KB
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# See https://doc.mergify.io
queue_rules:
- name: default
speculative_checks: 2
merge_method: squash
commit_message_template: |-
{{ title }} (#{{ number }})
{{ body }}
pull_request_rules:
- name: automatic merge
actions:
comment:
message: |
Thanks for contributing, @{{author}}! This PR will now be added to the [merge queue](https://mergify.com/merge-queue), or immediately merged if `{{head}}` is up-to-date with `{{base}}` and the queue is empty.
queue:
name: default
conditions:
- -files=.mergify.yml
- -title~=(?i)wip
- -label~=(🚧 pr/do-not-merge|⚠️ pr/review-mutation)
- -merged
- -closed
- -draft
- branch-protection-review-decision=APPROVED
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "#review-threads-unresolved=0"
- -approved-reviews-by~=author
- check-success=Validate PR title
- check-success=Quality Gate
- base=main
- name: requires manual merge
conditions:
- files=.mergify.yml
- -title~=(?i)wip
- -label~=(🚧 pr/do-not-merge|⚠️ pr/review-mutation|⚠️ mergify/review-config)
- -merged
- -closed
- -draft
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "#review-threads-unresolved=0"
- -approved-reviews-by~=author
- check-success=Validate PR title
- check-success=Quality Gate
- base=main
actions:
comment:
message: Thank you for contributing! Your pull request contains mergify configuration changes and needs manual merge from a maintainer (be sure to [allow changes to be pushed to your fork](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork)).
label:
add:
- ⚠️ mergify/review-config
request_reviews:
teams:
- "@winglang/maintainers"