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:

  1. Go to 'Branches'.
  2. Go to 'Branch protection rule'.
  3. Click on 'Dismiss stale pull request approvals when new commits are pushed' (should not be marked).

Read more: