From 40176f664ab60d69cbb337343c608ec804a3cf9b Mon Sep 17 00:00:00 2001 From: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Date: Fri, 6 May 2022 16:37:55 +0300 Subject: [PATCH] [ci] update review rules (#1239) * update approval rules * add comment --- .github/pr-custom-review.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/pr-custom-review.yml b/.github/pr-custom-review.yml index 4b6b1799d5c..cc28140944d 100644 --- a/.github/pr-custom-review.yml +++ b/.github/pr-custom-review.yml @@ -19,11 +19,20 @@ rules: check_type: changed_files condition: include: .* - exclude: ^polkadot-parachains/(statemine|statemint)/src/[^/]+\.rs$ + # excluding files from 'Runtime files' and 'CI team' rules + exclude: ^polkadot-parachains/(statemine|statemint)/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