forked from dfinity/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
50 lines (48 loc) · 1.32 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
queue_rules:
- name: default
conditions:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- status-success=audit:required
- status-success=e2e:required
- status-success=fmt:required
- status-success=license-check:required
- status-success=lint:required
- status-success=prepare-dfx-assets:required
- base=master
- label=automerge-squash
pull_request_rules:
- name: Automatic merge (squash)
conditions:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- status-success=audit:required
- status-success=e2e:required
- status-success=fmt:required
- status-success=license-check:required
- status-success=lint:required
- status-success=prepare-dfx-assets:required
- base=master
- label=automerge-squash
actions:
queue:
method: squash
name: default
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
delete_head_branch: {}
- name: Clean up automerge tags
conditions:
- closed
actions:
label:
remove:
- automerge-squash
- name: Auto-approve auto-PRs
conditions:
- author=dfinity-bot
actions:
review:
type: APPROVE
message: This bot trusts that bot