forked from hpi-schul-cloud/nuxt-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pullapprove.yml
66 lines (63 loc) · 2.2 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: 3
pullapprove_conditions:
- condition: "'WIP' not in labels"
unmet_status: pending
explanation: "Work in progress"
# not tested yet
# - condition: "'*lint*' in statuses.succeeded"
# unmet_status: failure
# explanation: "Linter must pass before review starts"
# - condition: "'*test*' in statuses.succeeded"
# unmet_status: failure
# explanation: "Linter must pass before review starts"
groups:
###############################
# GENERAL REQUEST FOR REVIEW
###############################
nuxt-core:
conditions:
# not created by a bot
- "'schul-cloud-bot' not in author.username"
- "'dependabot' not in author.username"
- "'greenkeeper' not in author.username"
reviews:
required: 1 # 1 approval from this group is required
request: 2 # 2 reviews requests will be sent at a time
request_order: shuffle # reviewers will be chosen in a random order
reviewers:
teams:
- VueCoreDevs
devops:
conditions:
- "'*deploy.sh' in files or '.build/*' in files or 'deploy/*' in files" # only review specific, deployment relevant files
reviewers:
teams:
- devops
reviews:
required: 1 # number of approvals required from this group
request: 2 # request review from 2 members at a time
request_order: shuffle # reviewers will be chosen in a random order
author_value: 1 # if author of pr is in team, no additional review required
###############################
# LABEL SPECIFIC REQUESTS
###############################
# integrathors:
# conditions:
# - "'IntegraTHORs' in labels"
# reviews:
# required: 1 # 1 approval from this group are required
# request: 2 # 2 reviews requests will be sent at a time
# request_order: shuffle # reviewers will be chosen in a random order
# reviewers:
# teams:
# - integrathors
# loki:
# conditions:
# - "'Loki' in labels"
# reviews:
# required: 1 # 1 approval from this group are required
# request: 2 # 2 reviews requests will be sent at a time
# request_order: shuffle # reviewers will be chosen in a random order
# reviewers:
# teams:
# - loki