mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 03:31:03 +00:00
70ab64bd15
As requested by @the-right-joyce and @louismerlin, the amount of required reviews from the `srlabs` team has been reduced to 1. See related discussion: https://github.com/paritytech/pr-custom-review/issues/136#issuecomment-1695262664
80 lines
3.0 KiB
YAML
80 lines
3.0 KiB
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: CI files
|
|
check_type: changed_files
|
|
condition:
|
|
include: ^\.gitlab-ci\.yml|^docker/.*|^\.github/.*|^\.gitlab/.*|^\.config/nextest.toml|^\.cargo/.*
|
|
exclude: ^./gitlab/pipeline/zombienet.yml$
|
|
min_approvals: 2
|
|
teams:
|
|
- ci
|
|
- release-engineering
|
|
|
|
- name: Audit rules
|
|
check_type: changed_files
|
|
condition:
|
|
include: ^polkadot/runtime\/(kusama|polkadot|common)\/.*|^polkadot/primitives/src\/.+\.rs$|^substrate/primitives/.*|^substrate/frame/.*
|
|
exclude: ^polkadot/runtime\/(kusama|polkadot)\/src\/weights\/.+\.rs$|^substrate\/frame\/.+\.md$
|
|
all_distinct:
|
|
- min_approvals: 1
|
|
teams:
|
|
- locks-review
|
|
- min_approvals: 1
|
|
teams:
|
|
- polkadot-review
|
|
- min_approvals: 1
|
|
teams:
|
|
- srlabs
|
|
|
|
- name: Core developers
|
|
check_type: changed_files
|
|
condition:
|
|
include: .*
|
|
# excluding files from 'Runtime files' and 'CI files' rules
|
|
exclude: ^polkadot/runtime/(kusama|polkadot)/src/[^/]+\.rs$|^cumulus/parachains/runtimes/assets/(asset-hub-kusama|asset-hub-polkadot)/src/[^/]+\.rs$|^cumulus/parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^cumulus/parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^cumulus/parachains/common/src/[^/]+\.rs$|^substrate/frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))|^polkadot/runtime/(kusama|polkadot)/src/[^/]+\.rs$|^\.gitlab-ci\.yml|^(?!.*\.dic$|.*spellcheck\.toml$)scripts/ci/.*|^\.github/.*
|
|
min_approvals: 2
|
|
teams:
|
|
- core-devs
|
|
|
|
# cumulus
|
|
- name: Runtime files cumulus
|
|
check_type: changed_files
|
|
condition: ^cumulus/parachains/runtimes/assets/(asset-hub-kusama|asset-hub-polkadot)/src/[^/]+\.rs$|^cumulus/parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^cumulus/parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^cumulus/parachains/common/src/[^/]+\.rs$
|
|
all_distinct:
|
|
- min_approvals: 1
|
|
teams:
|
|
- locks-review
|
|
- min_approvals: 1
|
|
teams:
|
|
- polkadot-review
|
|
|
|
# if there are any changes in the bridges subtree (in case of backport changes back to bridges repo)
|
|
- name: Bridges subtree files
|
|
check_type: changed_files
|
|
condition: ^cumulus/bridges/.*
|
|
min_approvals: 1
|
|
teams:
|
|
- bridges-core
|
|
|
|
# substrate
|
|
|
|
- name: FRAME coders substrate
|
|
check_type: changed_files
|
|
condition:
|
|
include: ^substrate/frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))
|
|
all:
|
|
- min_approvals: 2
|
|
teams:
|
|
- core-devs
|
|
- min_approvals: 1
|
|
teams:
|
|
- frame-coders
|
|
|
|
prevent-review-request:
|
|
teams:
|
|
- core-devs
|