def isMergedToMain()

in app/lib/RepoSnapshot.scala [69:75]


    def isMergedToMain(pr: PullRequest)(implicit repo: Repo): Boolean =
      pr.merged_at.isDefined && pr.base.ref == repo.default_branch

    def snapshot(repoId: RepoId): Future[RepoSnapshot] = for {
      githubRepo <- github.getRepo(repoId)
      repoSnapshot <- snapshot(githubRepo)
    } yield repoSnapshot