forked from broadinstitute/warp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pullapprove_template.yml
160 lines (145 loc) · 3.54 KB
/
pullapprove_template.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
cat <<EOF >.pullapprove.yml
---
version: 3
${EDIT_INSTRUCTIONS}
pullapprove_conditions:
- condition: "'WIP' not in title"
unmet_status: pending
explanation: "Work in progress"
- condition: "'WIP' not in labels"
unmet_status: pending
explanation: "Work in progress"
- condition: "'do not merge' not in labels"
unmet_status: failure
explanation: "Do Not Merge"
groups:
# Reviews from 2 developers are required for any PR
developers:
reviews:
required: 2
request: 0 # number of review requests sent at a time
reviewers:
teams:
- dsde-pipelines-developers
# Reviews from scientific owners:
# - will not be required if the 'eng-only' label is applied
scientific_owners_arrays:
conditions:
- "'eng-only' not in labels"
- "base.ref != 'master'"
- "base.ref != 'staging'"
- >
${ARRAYS_FILES}
reviews:
required: 1
author_value: 1
request: 1
request_order: given
reviewers:
users:
- gbggrant # George Grant
scientific_owners_gdc_pipeline:
conditions:
- "'eng-only' not in labels"
- "base.ref != 'master'"
- "base.ref != 'staging'"
- >
${GDC_WGS_FILES}
reviews:
required: 1
author_value: 1
request: 1
request_order: given
reviewers:
users:
- chipstewart # Chip Stewart
scientific_owners_cram_to_unmapped_bam:
conditions:
- "'eng-only' not in labels"
- "base.ref != 'master'"
- "base.ref != 'staging'"
- >
${CRAM_TO_UNMAPPED_BAMS}
reviews:
required: 1
author_value: 1
request: 1
request_order: given
reviewers:
users:
- kachulis # Chris Kachulis
scientific_owners_germline_single_sample:
conditions:
- "'eng-only' not in labels"
- "base.ref != 'master'"
- "base.ref != 'staging'"
- >
${GERMLINE_SINGLE_SAMPLE_FILES}
reviews:
required: 1
author_value: 1
request: 2
reviewers:
users:
- samuelklee # Samuel Lee
- kachulis # Chris Kachulis
scientific_owners_joint_genotyping:
conditions:
- "'eng-only' not in labels"
- "base.ref != 'master'"
- "base.ref != 'staging'"
- >
${JOINT_GENOTYPING_FILES}
reviews:
required: 1
author_value: 1
request: 1
request_order: given
reviewers:
users:
- samuelklee # Samuel Lee
scientific_owners_somatic_single_sample:
conditions:
- "'eng-only' not in labels"
- "base.ref != 'master'"
- "base.ref != 'staging'"
- >
${SOMATIC_SINGLE_SAMPLE_FILES}
reviews:
required: 1
author_value: 1
request: 1
request_order: given
reviewers:
users:
- fleharty # Mark Fleharty
scientific_owners_imputation:
conditions:
- "'eng-only' not in labels"
- "base.ref != 'master'"
- "base.ref != 'staging'"
- >
${IMPUTATION_FILES}
reviews:
required: 1
author_value: 1
request: 1
request_order: given
reviewers:
users:
- kachulis # Chris Kachulis
# Clinical reviews:
# - Approval is not required, this is just to send an email to Betty
# to make sure that she is aware of changes to the clinical pipelines
clinical_owners:
conditions:
- "base.ref != 'master'"
- "base.ref != 'staging'"
- >
${CLINICAL_FILES}
reviews:
required: 0
request: 1
reviewers:
users:
- bwoolf2 # Betty Woolf