Skip to content

Commit 4b2ae5a

Browse files
dansanduleacRobert Kruszewski
authored andcommitted
Create .policy.yml (apache-spark-on-k8s#451)
1 parent 92fe984 commit 4b2ae5a

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.policy.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
policy:
2+
approval:
3+
- or:
4+
- maintainer approval
5+
- excavator only touched build tooling or dependencies
6+
disapproval:
7+
requires:
8+
teams:
9+
- "palantir/spark"
10+
11+
approval_rules:
12+
13+
- name: maintainer approval
14+
options:
15+
allow_contributor: true
16+
requires:
17+
count: 1
18+
teams:
19+
- "palantir/spark"
20+
21+
- name: excavator only touched build tooling or dependencies
22+
requires:
23+
count: 0
24+
if:
25+
has_author_in:
26+
users: [ "svc-excavator-bot" ]
27+
only_changed_files:
28+
paths:
29+
- "^\\.baseline/.*$"
30+
- "^.*gradle$"
31+
- "^gradle/wrapper/.*"
32+
- "^gradlew.bat$"
33+
- "^gradlew$"
34+
- "^gradle.properties$"
35+
- "^settings.gradle$"
36+
- "^versions.props$"

0 commit comments

Comments
 (0)