actions-marketplace-validations/Clover to ShieldsIO endpoint JSON

Generates a ShieldsIO endpoint compatible JSON file containing the code coverage from a clover.xml

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 3, 2022
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/steffendietz_clover-to-shieldsio-json-action@dc9c53bd695b0bb3be0e67f270671c5c0dcfe4b1 # no releases — HEAD as of 2026-07-12

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

namedescriptionrequireddefault
path-to-cloverRelative path from repository root to clover.xmlyesclover.xml
path-to-jsonRelative path from repository root where ShieldsIO endpoint JSON is createdyesshieldsio.json
label-textThe left text of the badge; leave empty to omit left sidenocoverage
styleThe badge stylenoflat
bad-thresholdBelow this coverage percent, the color will be bad-colorno50
average-thresholdBelow this coverage percent, the color will be average-colorno75
above-average-thresholdBelow this coverage percent, the color will be above-average-colorno95
bad-colorThe color used for bad code coveragenored
average-colorThe color used for average code coveragenoyellow
above-average-colorThe color used for above average code coveragenogreen
good-colorThe color used for good code coveragenobrightgreen

no outputs