actions-marketplace-validations/Coverage Report as Comment (Clover)

Creates only (and only one ) comment on a pull request with a formatted cover report (clover.xml)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 10, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/lucassabreu_comment-coverage-clover@51e461781226c42a1a6832ace1b7595396d9df1c # no releases — HEAD as of 2026-07-13

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenGithub token (`repo` scope required)yes${{ github.token }}
dir-prefixSection of the file on clover report to removeyes${{ github.workspace }}
dir-prefix-keepSection of the `dir-prefix` to keep when creating link to file. Example: if your php application is at "$REPO/backend", then you should set this to "backend" no
fileThe location of the clover fileyes
base-fileThe location of the clover file with a previous state of the coverage to compareno
only-with-coverShould only list files with at least one line coveredfalse
only-with-coverable-linesShould only list files with at least one "coverable" line of codefalse
langIn which language to format the numbers (https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Intl#argumento_locales)en-US
chart-sizeHow many characters to use on chart's bar23
with-chartAdd a chart with the distribution of coverage on filestrue
with-tableAdd a table with a list of files and its coveragetrue
with-branchesAdds the column "Branches" with the branching coveragetrue
show-percentage-change-on-tableShow in percentage how much the file coverage changed per filefalse
table-type-coverageWhich of the coverage percentages to filterlines
table-below-coverageShow only files below or equal to this coverage percentage100
table-above-coverageShow only files above or equal to this coverage percentage0
table-coverage-changeShow only files which their coverage changed equal or above this percentage0
max-line-coverage-decreasehow much the line coverage percentage can decrease without failing
max-method-coverage-decreasehow much the method coverage percentage can decrease without failing
min-line-coverageMinimum percentage acceptable for line coverage0
min-method-coverageMinimum percentage acceptable for method coverage0
signatureCustom signature to be used at the bottom of the commentno
skip-comments-on-forksShould skip trying to comment on pull requests created from forksfalse
icon-equalsEmoji/text to be used when the coverage diff is zero:stop_button:
icon-increasedEmoji/text to be used when the coverage diff is increased:arrow_up_small:
icon-decreasedEmoji/text to be used when the coverage diff is decreased:arrow_down_small:
icon-newEmoji/text to be used when the file file is new, and does not have previous coverage metrics to compare:new:

no outputs