Skip to main content

render_pr_comment

Function render_pr_comment 

Source
pub fn render_pr_comment(
    command: &str,
    provider: Provider,
    issues: &[CiIssue],
    conclusion: Option<PrDecisionConclusion>,
) -> String
Expand description

Render the sticky comment body. conclusion is the gate outcome the caller already computed, folded into the severity-derived verdict by the renderer; None renders the severity-derived verdict alone.