githubgithub-codereviews

How to un-approve github review after new commits automatically


Once a pull request is approved, if there are further commits:

The Pull request should go to un-approved state automatically.

Can this be done?


Solution

  • The ability to Dismiss stale pull request approvals when new commits are pushed is a setting under Require pull request reviews before merging in the branch protection settings. This is disabled by default.

    dismiss stale pull request