kevsersrca/GitHub Coverage Bot

Compute Go diff coverage from a cover profile and optionally post a Markdown report on the pull request.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
repoGitHub repository as owner/name (defaults to GITHUB_REPOSITORY on pull_request workflows)no""
prPull request number (defaults from GITHUB_EVENT_PATH pull_request)no""
base-shaBase commit SHA (defaults from pull_request event)no""
head-shaHead commit SHA (defaults from pull_request event)no""
coverprofilePath to the go test coverage profile file (relative to repo root in the workspace)nocover.out
repo-rootRepository root for git diff invocationsno.
min-diff-coverageAdvisory warning threshold percentage for diff coverage (0 disables)no80
commentUpsert a pull request comment on GitHubnotrue
outputStdout format: md, json, or bothnojson
markerHidden HTML comment used to locate the bot's previous PR commentno<!-- github-coverage-bot -->
github-api-urlGitHub REST API base URL (override for GitHub Enterprise Server)nohttps://api.github.com
github-tokenToken with permission to comment on pull requestsno${{ github.token }}
namedescription
diff-coverageDiff coverage percentage for changed lines
repo-coverageWhole-repository coverage percentage from the profile
meets-thresholdWhether diff coverage meets min-diff-coverage when enabled