MCPcopy Create free account
hub / github.com/codemod/codemod / create_pull_request

Function create_pull_request

crates/core/src/git_ops.rs:623–705  ·  view source on GitHub ↗

Create a pull request via the Codemod API. `task_id` is the workflow task UUID (available as `task.id` in the engine). Returns the PR URL on success, if the API response includes one.

(
    title: &str,
    body: Option<&str>,
    draft: bool,
    head: &str,
    base: Option<&str>,
    task_id: &str,
    working_dir: &std::path::Path,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

finalize_taskMethod · 0.85

Calls 9

RuntimeClass · 0.85
sendMethod · 0.80
is_successMethod · 0.80
textMethod · 0.80
is_emptyMethod · 0.45
getMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…