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 #434

Merged
merged 1 commit into from
Jul 13, 2023
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 @@ -48,20 +48,22 @@ approval_rules:
permissions: ["admin", "maintain"]
if:
has_author_in:
users: [ "svc-excavator-bot" ]
users: [ "svc-excavator-bot", "dependabot[bot]" ]

- name: excavator only touched baseline, circle, gradle files, godel files, generated code, go dependencies, docker-compose-rule config or versions.props
requires:
count: 0
if:
has_author_in:
users: [ "svc-excavator-bot" ]
users: [ "svc-excavator-bot", "dependabot[bot]" ]
only_changed_files:
# product-dependencies.lock should never go here, to force review of all product (SLS) dependency changes
# this way excavator cannot change the deployability of a service or product via auto-merge
paths:
- "changelog/@unreleased/.*\\.yml"
- "^\\.baseline/.*$"
- "^(.+/)?Cargo.toml$"
- "^Cargo.lock$"
- "^\\.circleci/.*$"
- "^\\.docker-compose-rule\\.yml$"
- "^.*gradle$"
Expand All @@ -83,7 +85,7 @@ approval_rules:
- "^internal/generated_src/.*"
- "^gradle-baseline-java/src/main/resources/checkstyle.version$"
has_valid_signatures_by_keys:
key_ids: ["C9AF124A484882E0"]
key_ids: ["C9AF124A484882E0", "4AEE18F83AFDEB23"]

- name: excavator only touched config files
requires:
Expand Down
Loading