Preserving pull request approvals

We are introducing a new premium merge condition in the repository settings

For repositories that have enabled the “Reset approvals when the source branch is modified” merge condition, approvals may be reset even when the resulting diff of a pull request does not change. This may be due to amending a commit message or syncing the source branch of a pull request, for example.

Now, there is an option to "Keep approvals if there are no changes to the diff in the pull request" in order to preserve approvals in these scenarios.


How to opt into this feature?

Repository or workspace admins can navigate to Repository settings > Branch restrictions > enable the Keep approvals if there are no changes to the diff in the pull request option under Merge settings. Learn more.

Note: your workspace must be on the premium plan to enable this feature.



Once this check is enabled, pull request updates that do not affect the diff will not need to seek re-approval.