forked from palantir/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.policy.yml
38 lines (35 loc) · 855 Bytes
/
.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
policy:
approval:
- or:
- maintainer approval
- excavator only touched build tooling or dependencies
disapproval:
requires:
teams:
- "palantir/spark"
approval_rules:
- name: maintainer approval
options:
allow_contributor: true
requires:
count: 1
teams:
- "palantir/spark"
- name: excavator only touched build tooling or dependencies
requires:
count: 0
if:
has_author_in:
users: [ "svc-excavator-bot" ]
only_changed_files:
paths:
- "^\\.baseline/.*$"
- "^.*gradle$"
- "^gradle/wrapper/.*"
- "^gradlew.bat$"
- "^gradlew$"
- "^gradle.properties$"
- "^settings.gradle$"
- "^versions.props$"
targets_branch:
pattern: "^(master|release/2.5.x)$"