Skip to main content

derive_pull_request

Function derive_pull_request 

Source
pub fn derive_pull_request(
    owner: &str,
    repo: &str,
    pr_number: u64,
    config: &DeriveConfig,
) -> Result<Path>
Expand description

Derive a Toolpath Path from a GitHub pull request.

Fetches PR metadata, commits, reviews, comments, and CI checks from the GitHub API, then maps them into a Toolpath Path document where every event becomes a Step in the DAG.