Excavator: Update policy-bot config (#335)
This commit is contained in:
parent
3b529d9789
commit
3a411951d4
1 changed files with 10 additions and 0 deletions
10
.policy.yml
10
.policy.yml
|
@ -3,6 +3,7 @@
|
||||||
policy:
|
policy:
|
||||||
approval:
|
approval:
|
||||||
- or:
|
- or:
|
||||||
|
- infrastructure-notify has been notified
|
||||||
- one admin has approved (PR contributors not allowed)
|
- one admin has approved (PR contributors not allowed)
|
||||||
- two admins have approved
|
- two admins have approved
|
||||||
- changelog only and contributor approval
|
- changelog only and contributor approval
|
||||||
|
@ -15,6 +16,15 @@ policy:
|
||||||
organizations: [ "palantir" ]
|
organizations: [ "palantir" ]
|
||||||
|
|
||||||
approval_rules:
|
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)
|
- name: one admin has approved (PR contributors not allowed)
|
||||||
options:
|
options:
|
||||||
allow_contributor: false
|
allow_contributor: false
|
||||||
|
|
Loading…
Reference in a new issue