Skip to main content

create_pr

Function create_pr 

Source
pub async fn create_pr(
    title: &str,
    body: &str,
    draft: bool,
    base: Option<&str>,
    workspace: &Path,
) -> Result<String>
Expand description

Create a GitHub PR for the current branch.

title and body are required. Pass draft = true for a draft PR. base overrides the target branch (default: repo default branch).