Skip to content

Commit

Permalink
Excavator: Update policy-bot config (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot authored and bulldozer-bot[bot] committed Dec 4, 2019
1 parent c7019a5 commit 16d824f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
policy:
approval:
- or:
- infrastructure-notify has been notified
- one admin has approved (PR contributors not allowed)
- two admins have approved
- changelog only and contributor approval
Expand All @@ -15,12 +16,18 @@ policy:
organizations: [ "palantir" ]

approval_rules:

- name: one admin has approved (PR contributors not allowed)
- name: infrastructure-notify has been notified
options:
allow_contributor: false
request_review:
enabled: true
requires:
count: 1
teams: [ "palantir/infrastructure-notify" ]

- name: one admin has approved (PR contributors not allowed)
options:
allow_contributor: false
requires:
count: 1
admins: true
Expand Down

0 comments on commit 16d824f

Please sign in to comment.