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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 10, 2026
- License
- None
Pinned Snippet
uses: actions-marketplace-validations/lucassabreu_comment-coverage-clover@51e461781226c42a1a6832ace1b7595396d9df1c # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Github token (`repo` scope required) | yes | ${{ github.token }} |
| dir-prefix | Section of the file on clover report to remove | yes | ${{ github.workspace }} |
| dir-prefix-keep | Section 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 | — |
| file | The location of the clover file | yes | — |
| base-file | The location of the clover file with a previous state of the coverage to compare | no | — |
| only-with-cover | Should only list files with at least one line covered | — | false |
| only-with-coverable-lines | Should only list files with at least one "coverable" line of code | — | false |
| lang | In which language to format the numbers (https://developer.mozilla.org/pt-BR/docs/Web/JavaScript/Reference/Global_Objects/Intl#argumento_locales) | — | en-US |
| chart-size | How many characters to use on chart's bar | — | 23 |
| with-chart | Add a chart with the distribution of coverage on files | — | true |
| with-table | Add a table with a list of files and its coverage | — | true |
| with-branches | Adds the column "Branches" with the branching coverage | — | true |
| show-percentage-change-on-table | Show in percentage how much the file coverage changed per file | — | false |
| table-type-coverage | Which of the coverage percentages to filter | — | lines |
| table-below-coverage | Show only files below or equal to this coverage percentage | — | 100 |
| table-above-coverage | Show only files above or equal to this coverage percentage | — | 0 |
| table-coverage-change | Show only files which their coverage changed equal or above this percentage | — | 0 |
| max-line-coverage-decrease | how much the line coverage percentage can decrease without failing | — | — |
| max-method-coverage-decrease | how much the method coverage percentage can decrease without failing | — | — |
| min-line-coverage | Minimum percentage acceptable for line coverage | — | 0 |
| min-method-coverage | Minimum percentage acceptable for method coverage | — | 0 |
| signature | Custom signature to be used at the bottom of the comment | no | — |
| skip-comments-on-forks | Should skip trying to comment on pull requests created from forks | — | false |
| icon-equals | Emoji/text to be used when the coverage diff is zero | — | :stop_button: |
| icon-increased | Emoji/text to be used when the coverage diff is increased | — | :arrow_up_small: |
| icon-decreased | Emoji/text to be used when the coverage diff is decreased | — | :arrow_down_small: |
| icon-new | Emoji/text to be used when the file file is new, and does not have previous coverage metrics to compare | — | :new: |
Outputs
no outputs