Skip to content

Commit a088659

Browse files
Excavator: Update policy-bot config (#664)
1 parent 2c38424 commit a088659

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.policy.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
policy:
44
approval:
55
- or:
6+
- infrastructure-notify has been notified
67
- one admin has approved (PR contributors not allowed)
78
- two admins have approved
89
- changelog only and contributor approval
@@ -15,12 +16,18 @@ policy:
1516
organizations: [ "palantir" ]
1617

1718
approval_rules:
18-
19-
- name: one admin has approved (PR contributors not allowed)
19+
- name: infrastructure-notify has been notified
2020
options:
2121
allow_contributor: false
2222
request_review:
2323
enabled: true
24+
requires:
25+
count: 1
26+
teams: [ "palantir/infrastructure-notify" ]
27+
28+
- name: one admin has approved (PR contributors not allowed)
29+
options:
30+
allow_contributor: false
2431
requires:
2532
count: 1
2633
admins: true

0 commit comments

Comments
 (0)