From 53a1db59bc4c707e60dab7e40ab3b3bb94f487b9 Mon Sep 17 00:00:00 2001 From: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Date: Fri, 6 May 2022 14:52:11 +0300 Subject: [PATCH] [ci] update approval rules (#5467) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update approval rules * change approval count * Apply suggestions from code review Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com> Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com> --- polkadot/.github/pr-custom-review.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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