Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excavator: Update policy-bot config #258

Merged
merged 1 commit into from
Oct 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ policy:
- changelog only and contributor approval
- fixing excavator
- excavator only touched baseline, circle, gradle files, godel files, docker-compose-rule config or versions.props
- excavator only touched package.json and lock files
- excavator only touched config files
- bots updated package.json and lock files
disapproval:
requires:
organizations: [ "palantir" ]
Expand Down Expand Up @@ -89,12 +89,14 @@ approval_rules:
- "^\\..*.yml$"
- "^\\.github/.*$"

- name: excavator only touched package.json and lock files
- name: bots updated package.json and lock files
requires:
count: 0
if:
has_author_in:
users: [ "svc-excavator-bot" ]
users:
- "svc-excavator-bot"
- "dependabot[bot]"
only_changed_files:
paths:
- "^.*yarn.lock$"
Expand Down