Skip to main content

Module comment

Module comment 

Source
Expand description

Comment body rendering for GitHub PR comments.

Produces rich Markdown that includes a verdict badge, metric comparison table, trend indicators, optional blame attribution, and collapsible raw data.

Structs§

CommentOptions
Options for customizing the rendered comment.

Functions§

parse_github_repository
Parse the GITHUB_REPOSITORY env var into (owner, repo).
parse_pr_number_from_ref
Extract the PR number from a GitHub ref like refs/pull/123/merge.
render_comment
Render a full PR comment body from a CompareReceipt.
render_comment_from_report
Render a full PR comment body from a PerfgateReport.