From 456dc5d5fd06c6da7fcfe55b94ae7a97909727ce Mon Sep 17 00:00:00 2001 From: Juan Date: Tue, 16 May 2023 12:24:28 +0200 Subject: [PATCH] Add review rules regarding the owned files (#14122) * Add FRAME Coders PR rule * change regexp rule from `beef` to `beefy` * exclude pallet-aura from frame coders rule --------- Co-authored-by: parity-processbot <> --- substrate/.github/pr-custom-review.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/substrate/.github/pr-custom-review.yml b/substrate/.github/pr-custom-review.yml index 3620f7e770..c10fb6df28 100644 --- a/substrate/.github/pr-custom-review.yml +++ b/substrate/.github/pr-custom-review.yml @@ -8,12 +8,24 @@ rules: check_type: changed_files condition: include: .* - # excluding files from 'CI team' rules - exclude: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*|^\.config/nextest.toml + # excluding files from 'CI team' and 'FRAME coders' rules + exclude: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*|^\.config/nextest.toml|^frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*)) min_approvals: 2 teams: - core-devs + - name: FRAME coders + check_type: changed_files + condition: + include: ^frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*)) + all: + - min_approvals: 2 + teams: + - core-devs + - min_approvals: 1 + teams: + - frame-coders + - name: CI team check_type: changed_files condition: