Skip to content

Instantly share code, notes, and snippets.

@ClausPolanka
Created July 29, 2020 20:08
Show Gist options
  • Save ClausPolanka/b8b81db6b8617670c7df2a6486471fd5 to your computer and use it in GitHub Desktop.
Save ClausPolanka/b8b81db6b8617670c7df2a6486471fd5 to your computer and use it in GitHub Desktop.
Integration (IOSP) shows logic on SLA how to open Pull Requests
fun open_pull_requests(candidate: Candidate, pairingPartner: List<PairingPartner>) {
val branches = get_branches_for(candidate)
val prs = branches.pull_requests_for(pairingPartner)
prs.forEach { githubPullRequestsRepo.open_pull_request(it) }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment