mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 09:08:18 +00:00
cd076d7044
## [Updated review bot version](https://github.com/paritytech/polkadot-sdk/commit/677610ba330a8e03f24b46889787e0475f354954) updated version to version `2.0.1` which contains https://github.com/paritytech/review-bot/pull/90, a fix for the team members not being fetch in its totality. ## [Updated review-bot.yml minApprovals convention](https://github.com/paritytech/polkadot-sdk/commit/b1446832ddd14f55b2720a65b0ff86b139999419) Renamed `min_approvals` to `minApprovals`. A breaking change in https://github.com/paritytech/review-bot/pull/86 which was done to standarize all the cases (so now everything is camelCase)
121 lines
3.3 KiB
YAML
121 lines
3.3 KiB
YAML
rules:
|
|
- name: CI files
|
|
condition:
|
|
include:
|
|
- ^\.gitlab-ci\.yml
|
|
- ^docker/.*
|
|
- ^\.github/.*
|
|
- ^\.gitlab/.*
|
|
- ^\.config/nextest.toml
|
|
- ^\.cargo/.*
|
|
exclude:
|
|
- ^./gitlab/pipeline/zombienet.*
|
|
minApprovals: 2
|
|
type: basic
|
|
teams:
|
|
- ci
|
|
- release-engineering
|
|
|
|
- name: Audit rules
|
|
type: basic
|
|
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$
|
|
minApprovals: 1
|
|
allowedToSkipRule:
|
|
teams:
|
|
- core-devs
|
|
teams:
|
|
- srlabs
|
|
|
|
- name: Core developers
|
|
countAuthor: true
|
|
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
|
|
- ^docker/.*
|
|
- ^\.github/.*
|
|
- ^\.gitlab/.*
|
|
- ^\.config/nextest.toml
|
|
- ^\.cargo/.*
|
|
minApprovals: 2
|
|
type: basic
|
|
teams:
|
|
- core-devs
|
|
|
|
# cumulus
|
|
- name: Runtime files cumulus
|
|
countAuthor: true
|
|
condition:
|
|
include:
|
|
- ^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$
|
|
type: and-distinct
|
|
reviewers:
|
|
- minApprovals: 1
|
|
teams:
|
|
- locks-review
|
|
- minApprovals: 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
|
|
type: basic
|
|
condition:
|
|
include:
|
|
- ^bridges/.*
|
|
minApprovals: 1
|
|
teams:
|
|
- bridges-core
|
|
|
|
# substrate
|
|
|
|
- name: FRAME coders substrate
|
|
condition:
|
|
include:
|
|
- ^substrate/frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))
|
|
type: "and"
|
|
reviewers:
|
|
- minApprovals: 2
|
|
teams:
|
|
- core-devs
|
|
- minApprovals: 1
|
|
teams:
|
|
- frame-coders
|
|
|
|
# Protection of THIS file
|
|
- name: Review Bot
|
|
condition:
|
|
include:
|
|
- review-bot\.yml
|
|
type: "and"
|
|
reviewers:
|
|
- minApprovals: 1
|
|
teams:
|
|
- opstooling
|
|
- minApprovals: 1
|
|
teams:
|
|
- locks-review
|
|
- minApprovals: 1
|
|
teams:
|
|
- ci
|