Skip to content

Commit

Permalink
Excavator: Update policy-bot config (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot authored Mar 2, 2022
1 parent b005855 commit f754610
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 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,6 +16,15 @@ policy:
organizations: [ "palantir" ]

approval_rules:
- 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
Expand Down

0 comments on commit f754610

Please sign in to comment.