Ensure the maximum number of users allowed to dismiss review is not exceeded
Having a maximum number of users allowed to dismiss reviews will prevent unknown collaborators from pushing changes to the code
Risk Level: medium
Platform: Github
Spectral Rule ID: GH-HRD012
REMEDIATION
Change the number of users allowed to dismiss review to 1.
SaaS:
In the repository setting in the Github site:
- Go to 'Branches'.
- Go to 'Branch protection rule'.
- Click on 'Dismiss stale pull request approvals when new commits are pushed' (should not be marked).
Read more:
Updated over 1 year ago