-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
79 lines (73 loc) · 1.73 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
70
71
72
73
74
75
76
77
78
79
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: apply patches to developmental and stable branches
conditions:
- base=main
- -closed
- -merged
actions:
backport:
regexes: [^stable/, develop]
- 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
- head!=develop
#don't delete if we're merging from develop or main
actions:
delete_head_branch: {}