forked from palantir/conjure-java-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.policy.yml
50 lines (45 loc) · 1.16 KB
/
.policy.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
policy:
approval:
- or:
- infra team approval
- infra team co-approval
- excavator only touched gradle files or versions.props
- excavator only touched package.json and lock files
approval_rules:
- name: infra team approval
requires:
count: 1
teams:
- "palantir/infrastructure"
# Require two *contributing* infra maintainers to approve changes
- name: infra team co-approval
options:
allow_contributor: true
requires:
count: 2
teams:
- "palantir/infrastructure"
- name: excavator only touched gradle files or versions.props
requires:
count: 0
if:
has_author_in:
users: [ "svc-excavator-bot" ]
only_changed_files:
paths:
- "^.*gradle$"
- "^gradle/wrapper/.*"
- "^gradlew$"
- "^gradlew.bat$"
- "^versions.props$"
- "^versions.lock$"
- name: excavator only touched package.json and lock files
requires:
count: 0
if:
has_author_in:
users: [ "svc-excavator-bot" ]
only_changed_files:
paths:
- "^.*yarn.lock$"
- "^.*package.json$"