in app/lib/RepoUpdater.scala [17:24]
def attemptToCreateMissingLabels(repoLevelDetails: RepoLevelDetails): Future[_] = {
for {
existingLabels <- repoLevelDetails.repo.labels.list().all()
createdLabels <- Future.traverse(missingLabelsGiven(repoLevelDetails, existingLabels.map(_.name).toSet)) {
missingLabel => repoLevelDetails.repo.labels.create(missingLabel)
}
} yield createdLabels
}.trying