mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 00:37:57 +00:00
e2caa813bf
Srlabs review is most of the times just blocking the merge, especially when the changes do not require any audit. This pr removes the requirement of srlabs to approve these prs.
85 lines
2.0 KiB
YAML
85 lines
2.0 KiB
YAML
rules:
|
|
- name: CI files
|
|
countAuthor: true
|
|
condition:
|
|
include:
|
|
- ^\.gitlab-ci\.yml
|
|
- ^docker/.*
|
|
- ^\.github/.*
|
|
- ^\.gitlab/.*
|
|
- ^\.config/nextest.toml
|
|
- ^\.cargo/.*
|
|
exclude:
|
|
- ^\.gitlab/pipeline/zombienet.*
|
|
type: "or"
|
|
reviewers:
|
|
- minApprovals: 2
|
|
teams:
|
|
- ci
|
|
- minApprovals: 2
|
|
teams:
|
|
- core-devs
|
|
|
|
- name: Core developers
|
|
countAuthor: true
|
|
condition:
|
|
include:
|
|
- .*
|
|
# excluding files from 'Runtime files' and 'CI files' rules
|
|
exclude:
|
|
- ^cumulus/parachains/common/src/[^/]+\.rs$
|
|
- ^substrate/frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))
|
|
- ^\.gitlab-ci\.yml
|
|
- ^docker/.*
|
|
- ^\.github/.*
|
|
- ^\.gitlab/.*
|
|
- ^\.config/nextest.toml
|
|
- ^\.cargo/.*
|
|
minApprovals: 2
|
|
type: basic
|
|
teams:
|
|
- core-devs
|
|
|
|
# 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
|
|
countAuthor: true
|
|
condition:
|
|
include:
|
|
- review-bot\.yml
|
|
type: "and"
|
|
reviewers:
|
|
- minApprovals: 1
|
|
teams:
|
|
- opstooling
|
|
- minApprovals: 1
|
|
teams:
|
|
- locks-review
|
|
|
|
preventReviewRequests:
|
|
teams:
|
|
- core-devs
|