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"]