diff --git a/polkadot/.github/pr-custom-review.yml b/polkadot/.github/pr-custom-review.yml index db0f64157b..01ccd7f34d 100644 --- a/polkadot/.github/pr-custom-review.yml +++ b/polkadot/.github/pr-custom-review.yml @@ -19,11 +19,20 @@ rules: check_type: changed_files condition: include: .* - exclude: ^runtime/(kusama|polkadot)/src/[^/]+\.rs$ + # excluding files from 'Runtime files' and 'CI team' rules + exclude: ^runtime/(kusama|polkadot)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.* min_approvals: 2 teams: - core-devs + - name: CI team + check_type: changed_files + condition: + include: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.* + min_approvals: 2 + teams: + - ci + prevent-review-request: teams: - core-devs