Ensure the branch requires status checks to pass before merging
Required status checks ensure that all required CI tests are passed before collaborators can change a protected branch. Required status checks can be checks or statuses.
Risk Level: medium
Platform: Github
Spectral Rule ID: GH-HRD020
REMEDIATION
Anyone with write permissions to a repository can set the state for any status check in the repository.
Read more at https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#require-status-checks-before-merging
Read more:
Updated about 1 year ago