public interface RepositoryMergeCheck extends PreRepositoryHook<com.atlassian.bitbucket.hook.repository.PullRequestMergeHookRequest>
Merge checks are called for:
PullRequestService#canMerge
PullRequestService#merge
RepositoryHookRequest.isDryRun()
can be used to determine which operation is in progress, for
implementations which should only be applied to one or the other (but most checks should apply the same way to both).onEnd, preUpdate
Copyright © 2020 Atlassian. All rights reserved.