mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-10 11:07:30 +00:00
53a1db59bc
* update approval rules * change approval count * Apply suggestions from code review Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com> Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com>
39 lines
983 B
YAML
39 lines
983 B
YAML
# 🔒 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: .*
|
|
# excluding files from 'Runtime files' and 'CI team' rules
|
|
exclude: ^runtime/(kusama|polkadot)/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
|