Ensure all open comments are resolved before allowing code change merging

Requires all comments on the pull request to be resolved before it can be merged to a protected branch. This ensures that all comments are addressed or acknowledged before the merge.

Risk Level: medium
Platform: Github
Spectral Rule ID: GH-HRD021

REMEDIATION

SaaS:

  1. On GitHub.com, navigate to the main page of the repository.
  2. Under your repository name, click Settings.
  3. In the Code and automation section of the sidebar, click Branches.
  4. Click on Branch protection rules, for main rule check Require conversation resolution before merging is enabled.

Read more: