From 3cd9ad1df19d41857311602a63f3eeb041ecd7fa Mon Sep 17 00:00:00 2001 From: Excavator Bot <33266368+svc-excavator-bot@users.noreply.github.com> Date: Tue, 13 Sep 2022 10:04:08 +0100 Subject: [PATCH] Excavator: Update policy-bot config (#776) --- .policy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.policy.yml b/.policy.yml index 7d7e9353..4129c1fc 100644 --- a/.policy.yml +++ b/.policy.yml @@ -7,7 +7,7 @@ policy: - two admins have approved - changelog only and contributor approval - fixing excavator - - excavator only touched baseline, circle, gradle files, godel files, go dependencies, docker-compose-rule config or versions.props + - excavator only touched baseline, circle, gradle files, godel files, generated code, go dependencies, docker-compose-rule config or versions.props - excavator only touched config files - bots updated package.json and lock files disapproval: @@ -50,7 +50,7 @@ approval_rules: has_author_in: users: [ "svc-excavator-bot" ] - - name: excavator only touched baseline, circle, gradle files, godel files, go dependencies, docker-compose-rule config or versions.props + - 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: @@ -79,6 +79,8 @@ approval_rules: - "^vendor/.*$" - "^versions.props$" - "^versions.lock$" + - "^internal/generated/.*" + - "^internal/generated_src/.*" has_valid_signatures_by_keys: key_ids: ["C9AF124A484882E0"]