Skip to main content

link_if_from

Function link_if_from 

Source
pub fn link_if_from(work_id: String, pr: PrRef, repo: String, branch: String)
Expand description

A hand-in named pr while its agent was on branch of repo (its origin): link it if that PR is from that branch of that repository, so a PR the result only mentions (someone else’s, one it built on, a fork’s same-named branch) isn’t taken for the task’s own.