0

Preserving pull request approvals

 1 year ago
source link: https://bitbucket.org/blog/preserving-pull-request-approvals
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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.

keep-pr-approvals.png

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK