Skip to content

Commit

Permalink
Excavator: Update policy-bot config (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed May 4, 2023
1 parent a8bd7e5 commit 4ad52b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@ approval_rules:
allow_contributor: false
requires:
count: 1
admins: true
permissions: ["admin", "maintain"]

- name: two admins have approved
options:
allow_contributor: true
requires:
count: 2
admins: true
permissions: ["admin", "maintain"]

- name: changelog only and contributor approval
options:
allow_contributor: true
requires:
count: 1
admins: true
permissions: ["admin", "maintain"]
if:
only_changed_files:
paths:
Expand All @@ -45,7 +45,7 @@ approval_rules:
allow_contributor: true
requires:
count: 1
admins: true
permissions: ["admin", "maintain"]
if:
has_author_in:
users: [ "svc-excavator-bot" ]
Expand Down

0 comments on commit 4ad52b1

Please sign in to comment.