Excavator: Update policy-bot config (#248)
This commit is contained in:
parent
9e6691c9a6
commit
f4004fed07
1 changed files with 9 additions and 2 deletions
11
.policy.yml
11
.policy.yml
|
@ -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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue