Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Add a rule for SRLabs audits #136

@the-right-joyce

Description

@the-right-joyce

@0xJayPi, @serhanwbahar and I had a call today with SRLabs where we discussed how the current labels-based auditing process should be replaced in our beautiful monorepo.

Currently, the CI enforces users to add a D* label to their PRs in case these files are touched:
polkadot: ^runtime/polkadot
polkadot : ^runtime/kusama
polkadot : ^primitives/src/
polkadot : ^runtime/common
substrate : ^frame/
substrate : ^primitives/

We aligned that we want to keep the enforcement of the auditing process for the same files (the runtime files will be obsolete, as we won't have them in the monorepo), but the process should now look like this:

  1. When a PR is opened and one of these files are touched (see above substrate) the tool should check if this PR was created by an external user (= non-member of @paritytech)
  2. In case that's true this PR will be added to the board Security Audit (PRs) - SRLabs (Status: Backlog)
  3. And can't be merged until at least one member of @paritytech/srlabs has approved the PR on the review process

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions