paritytech / pr-custom-review

GitHub Action for complex pull request approval cases that are not currently supported by the Branch protection feature in GitHub.
MIT License
8 stars 4 forks source link

Support Polkadot's requirements #34

Closed joao-paulo-parity closed 2 years ago

joao-paulo-parity commented 2 years ago

Polkadot

Requirements

From https://github.com/paritytech/ci_cd/issues/233#issue-1026394650

Any PR that touches the runtime/lib.rs must have an approval from at least two team leads

rules:
  - name: Runtime
    condition: runtime/.*/lib\.rs$
    check_type: changed_files
    min_approvals: 2
    teams:
      - substrateteamleads