Skip to main content

render_github_annotations

Function render_github_annotations 

Source
pub fn render_github_annotations(
    highlights: &[Highlight],
    cfg: &CockpitConfig,
    sensor_blocking: &BTreeMap<String, bool>,
) -> GitHubAnnotationResult
Expand description

Render GitHub Actions workflow command annotations from highlights.

Produces lines like: ::error file={path},line={line},col={col},title=[{sensor_id}] {code}::{message}

Capped by max_annotations from policy. Same deterministic sort as markdown annotations.