Skip to content

Ci Helpers

Utility functions for working with ci operations.

Function Description
buildStatusTable Builds a Markdown table body from a map of job names to CI/CD statuses.
DEFAULT_PERCENTAGE_TIERS Default tiers, geared towards coverage/quality-gate style percentages.
percentageToTier Maps a numeric percentage to a tier (icon, color, label) using configurable thresholds.
statusToBadge Maps a CI/CD job status to an inline code badge string.
statusToIcon Maps a CI/CD job status to an emoji icon.