From 8f1c0ddac12bdcd161ad5856d2fc1a6787d81a13 Mon Sep 17 00:00:00 2001 From: Vladimir Istyufeev Date: Mon, 16 Jan 2023 22:54:55 +0400 Subject: [PATCH 1/2] Exclude CI related dictionary files from the CI team approval --- .github/pr-custom-review.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/pr-custom-review.yml b/.github/pr-custom-review.yml index 243b7434108d..5af99080aabe 100644 --- a/.github/pr-custom-review.yml +++ b/.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$)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$)scripts/ci/.*|^\.github/.* min_approvals: 2 teams: - ci From 69449133084777b130af9cfd4057f16dc8f65a91 Mon Sep 17 00:00:00 2001 From: Vladimir Istyufeev Date: Mon, 16 Jan 2023 23:48:30 +0400 Subject: [PATCH 2/2] Exclude `spellcheck.toml` too --- .github/pr-custom-review.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/pr-custom-review.yml b/.github/pr-custom-review.yml index 5af99080aabe..739f2c82957e 100644 --- a/.github/pr-custom-review.yml +++ b/.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|^(?!.*\.dic$)scripts/ci/.*|^\.github/.* + exclude: ^runtime/(kusama|polkadot)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^(?!.*\.dic$|.*spellcheck\.toml$)scripts/ci/.*|^\.github/.* min_approvals: 2 teams: - core-devs @@ -29,7 +29,7 @@ rules: check_type: changed_files condition: # dictionary files are excluded - include: ^\.gitlab-ci\.yml|^(?!.*\.dic$)scripts/ci/.*|^\.github/.* + include: ^\.gitlab-ci\.yml|^(?!.*\.dic$|.*spellcheck\.toml$)scripts/ci/.*|^\.github/.* min_approvals: 2 teams: - ci