Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
create pr-custom-review.yml (#5253)
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-paulo-parity committed Apr 7, 2022
1 parent 21f06c3 commit fcff49a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/pr-custom-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 🔒 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: Runtime files
check_type: changed_files
condition: ^runtime/(kusama|polkadot)/src/[^/]+\.rs$
all_distinct:
- min_approvals: 1
teams:
- locks-review
- min_approvals: 1
teams:
- polkadot-review

- name: Core developers
check_type: changed_files
condition:
include: .*
exclude: ^runtime/(kusama|polkadot)/src/[^/]+\.rs$
min_approvals: 2
teams:
- core-devs

prevent_review_request:
teams:
- core-devs

0 comments on commit fcff49a

Please sign in to comment.