@Override
public void onPostReceive(ReceivePack receivePack, Collection<ReceiveCommand> commands) {
Set<String> branches = ReceiveCommandUtil.getUpdatedBranches(commands);
for (String branch : branches) {
PullRequestEventMessage message = new PullRequestEventMessage(user, request, project, branch);
Akka.system().actorOf(new Props(RelatedPullRequestMergingActor.class)).tell(message, null);
}
Set<String> deletedBranches = ReceiveCommandUtil.getDeletedBranches(commands);
for (String branch : deletedBranches) {