From f06ad48a4c8e2f3a22478630125db0e12d946216 Mon Sep 17 00:00:00 2001 From: Muharem Ismailov Date: Tue, 4 Apr 2023 16:10:13 +0200 Subject: [PATCH] PR review rules, include all rs files except weights (#6990) --- polkadot/.github/pr-custom-review.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/polkadot/.github/pr-custom-review.yml b/polkadot/.github/pr-custom-review.yml index 739f2c8295..bb715c4adf 100644 --- a/polkadot/.github/pr-custom-review.yml +++ b/polkadot/.github/pr-custom-review.yml @@ -6,7 +6,9 @@ action-review-team: ci rules: - name: Runtime files check_type: changed_files - condition: ^runtime/(kusama|polkadot)/src/[^/]+\.rs$ + condition: + include: ^runtime\/(kusama|polkadot)\/src\/.+\.rs$ + exclude: ^runtime\/(kusama|polkadot)\/src\/weights\/.+\.rs$ all_distinct: - min_approvals: 1 teams: