-
Notifications
You must be signed in to change notification settings - Fork 34
/
.pullapprove.yml
50 lines (40 loc) · 1.15 KB
/
.pullapprove.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
version: 3
pullapprove_conditions:
- condition: "'*snyk*' in statuses.successful"
unmet_status: failure
explanation: "Snyk tests must pass before review starts"
groups:
pullapprove-admins:
conditions:
- "'.pullapprove.yml' in files"
reviews:
required: 1
request: 0
author_value: 1 # if author in group reduce number of approvals needed by this number
reviewers:
teams:
- secops
software-review:
reviews:
required: 1
request: 0
author_value: 0 # if author in group reduce number of approvals needed by this number
reviewers:
teams:
- pipelines-software-engineers-hornet
- pipelines-software-engineers-lantern
- pipelines-devops
computational-review:
conditions:
- "'ENG-ONLY' not in labels"
reviews:
required: 1
request: 0
author_value: 0 # if author in group reduce number of approvals needed by this number
reviewers:
teams:
- pipelines-computational-biologists
notifications:
- when: pullapprove.approved
if: "author_association == 'CONTRIBUTOR'"
comment: "The review is completed. Thanks @{{ author }}."