Ensure branch require code owner reviews
Code owners are automatically requested for review when someone opens a pull request that modifies their own code.
Risk Level: medium
Platform: Github
Spectral Rule ID: GH-HRDS005
REMEDIATION
People with admin or owner permissions can set up a CODEOWNERS file in a repository to define individuals or teams responsible for code in a repository.
To use a CODEOWNERS file, create a file called CODEOWNERS in the root
, docs/
, or .github/
directory of the repository, in the branch where you'd like to add the code owners.
An example can be found in the references.
Read more:
Updated over 1 year ago