From eace9eb294f36658228a59671c1062fe426f1b85 Mon Sep 17 00:00:00 2001 From: Excavator Bot <33266368+svc-excavator-bot@users.noreply.github.com> Date: Tue, 13 Sep 2022 10:01:37 +0100 Subject: [PATCH] Excavator: Update policy-bot config (#141) --- .policy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.policy.yml b/.policy.yml index 7d7e935..4129c1f 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"]