From fcf65582a2557010542ecc7c0652279b8b9da0b9 Mon Sep 17 00:00:00 2001 From: Vladimir Istyufeev Date: Tue, 17 Jan 2023 15:17:46 +0400 Subject: [PATCH] Exclude CI related dictionary files from the CI team approval (#6563) --- polkadot/.github/pr-custom-review.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/polkadot/.github/pr-custom-review.yml b/polkadot/.github/pr-custom-review.yml index 243b743410..739f2c8295 100644 --- a/polkadot/.github/pr-custom-review.yml +++ b/polkadot/.github/pr-custom-review.yml @@ -20,7 +20,7 @@ rules: condition: include: .* # excluding files from 'Runtime files' and 'CI files' rules - exclude: ^runtime/(kusama|polkadot)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.* + exclude: ^runtime/(kusama|polkadot)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^(?!.*\.dic$|.*spellcheck\.toml$)scripts/ci/.*|^\.github/.* min_approvals: 2 teams: - core-devs @@ -28,7 +28,8 @@ rules: - name: CI files check_type: changed_files condition: - include: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.* + # dictionary files are excluded + include: ^\.gitlab-ci\.yml|^(?!.*\.dic$|.*spellcheck\.toml$)scripts/ci/.*|^\.github/.* min_approvals: 2 teams: - ci