Skip to main content

existing_pr

Function existing_pr 

Source
pub fn existing_pr(
    token: &str,
    repo: &Repo,
    head: &str,
) -> Result<Option<ExistingPr>>
Expand description

The open pull request from head in this repository, if one exists.

ยงErrors

Returns an error when the GitHub client cannot be built or the call that lists pull requests fails.