Skip to content

Commit

Permalink
[ci] update review rules (#1239)
Browse files Browse the repository at this point in the history
* update approval rules

* add comment
  • Loading branch information
sergejparity authored May 6, 2022
1 parent 0eb8efa commit 40176f6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/pr-custom-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,20 @@ rules:
check_type: changed_files
condition:
include: .*
exclude: ^polkadot-parachains/(statemine|statemint)/src/[^/]+\.rs$
# excluding files from 'Runtime files' and 'CI team' rules
exclude: ^polkadot-parachains/(statemine|statemint)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
min_approvals: 2
teams:
- core-devs

- name: CI team
check_type: changed_files
condition:
include: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*
min_approvals: 2
teams:
- ci

prevent-review-request:
teams:
- core-devs

0 comments on commit 40176f6

Please sign in to comment.