From ef5c4b7fc39ed585d96701d85eb6370485e868cb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jo=C3=A3o=20Paulo=20Silva=20de=20Souza?=
 <77391175+joao-paulo-parity@users.noreply.github.com>
Date: Thu, 7 Apr 2022 11:23:33 -0300
Subject: [PATCH] update pr-custom-review.yml (#11169)

syntax in accordance to https://github.com/paritytech/pr-custom-review/tree/5814820aa0e5d35412f31dc02f9d130a8b138cae#configuration-syntax
rules in accordance to https://github.com/paritytech/pr-custom-review/blob/da1d81b9fd39705cc8b37f59235283801c818708/rules.md
---
 substrate/.github/pr-custom-review.yml | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/substrate/.github/pr-custom-review.yml b/substrate/.github/pr-custom-review.yml
index 615203c11c1..7ce8146571c 100644
--- a/substrate/.github/pr-custom-review.yml
+++ b/substrate/.github/pr-custom-review.yml
@@ -1,18 +1,16 @@
+# 🔒 PROTECTED: Changes to locks-review-team should be approved by the current locks-review-team
+locks-review-team: locks-review
+team-leads-team: polkadot-review
+action-review-team: ci
+
 rules:
-  - name: Changed runtime files
-    condition: .*/runtime/.*lib.rs
+  - name: Core developers
     check_type: changed_files
+    condition: .*
     min_approvals: 2
     teams:
-      - substrateteamleads
+      - core-devs
 
-  - name: Substrate developers
-    check_type: changed_files
-    condition: .*
-    any:
-      - min_approvals: 2
-        teams:
-          - core-devs
-      - min_approvals: 1
-        teams:
-          - substrateteamleads
\ No newline at end of file
+prevent_review_request:
+  teams:
+    - core-devs
-- 
GitLab