From d812ebd2ea7cb13f7178f1b01ab8bc9979dfee45 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 --- .github/pr-custom-review.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/pr-custom-review.yml b/.github/pr-custom-review.yml index 615203c11c15b..7ce8146571cd3 100644 --- a/.github/pr-custom-review.yml +++ b/.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