buildStatusTable
Builds a Markdown table body from a map of job names to CI/CD statuses.
Each row follows the format | icon | **Job Name** | badge |.
Intended to be embedded in a PR comment template:
Available since v2.0.0
Import
Section titled “Import”Signature
Section titled “Signature”Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
jobs | Record<string, string> | Record mapping job display names to their CI status |
Returns
Section titled “Returns”string — Newline-separated Markdown table rows (no header, no footer)
Examples
Section titled “Examples”Build a PR comment status table
Section titled “Build a PR comment status table”Generates the body rows of a Markdown table for a PR validation summary.
