xseman/Coverage

Parse LCOV (Bun, Node.js, Jest, etc.) and Go coverage, compute per-file deltas, and post a sticky PR comment with monospace coverage output.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
coverage-artifact-pathsNewline- or comma-separated list of coverage artifact paths. Each entry is `<tool>:<path>`, e.g. `bun:coverage/lcov.info`, `node:coverage/lcov.info`, or `go:coverage.out`. yes
pull-request-numberPR number to comment on. Auto-detected from event context when omitted. Use this when running under workflow_run with fork PRs where auto-detection may fail. no""
show-commit-linkInclude a commit link at the top of the comment (on/off).noon
base-branchTarget branch for comparison (e.g. main). Defaults to the PR base ref.no""
cache-keyCustom cache key prefix for storing coverage artifacts.nocoverage-reporter
update-comment-markerUnique marker string to identify the sticky comment.no<!-- coverage-reporter-sticky -->
colorizeEnable colorized delta markers in the comment (on/off).noon
fail-on-decreaseFail the action if any file coverage decreases (true/false).nofalse
coverage-thresholdMinimum overall coverage percentage. Fail if below this (0-100). Set 0 to disable.no0
github-tokenGitHub token for posting PR comments. Defaults to GITHUB_TOKEN.no${{ github.token }}
namedescription
overall-coverageOverall coverage percentage across all tools.
coverage-decreased'true' if any file had a coverage decrease.
comment-idID of the created/updated PR comment.