This repository has been archived by the owner on Dec 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
69 lines (64 loc) · 1.52 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
58
59
60
61
62
63
64
65
66
67
68
69
pull_request_rules:
- name: automatic merge when GitHub branch protection passes
conditions:
- label!=work-in-progress
- -closed
- -merged
actions:
assign:
users: [SK1Y101]
merge:
method: merge
strict: smart+fasttrack
- name: automatic merge for Snyk pull requests
conditions:
- base=main
- title~=^\[Snyk\]
- head~=^snyk-fix
- check-success~=^security/snyk
- -closed
- -merged
actions:
review:
type: APPROVE
merge:
method: merge
strict: smart+fasttrack
- name: automatic merge for Dependabot pull requests
conditions:
- base=main
- author~=^dependabot(|-preview)\[bot\]$
- check-success~=^security/snyk
- -closed
- -merged
actions:
review:
type: APPROVE
merge:
method: merge
strict: smart+fasttrack
- name: automatic merge for Allcontributors bot pull requests
conditions:
- base=main
- author~=^allcontributors\[bot\]$
- check-success~=^security/snyk
- -closed
- -merged
actions:
review:
type: APPROVE
merge:
method: merge
strict: smart+fasttrack
- name: remove outdated reviews
conditions:
- base=master
actions:
dismiss_reviews: {}
- name: delete head branch after merge
conditions:
- merged
- head!=main
#don't delete if we're merging from develop or main
actions:
delete_head_branch: {}