openscript-ch/undercov

Track LCOV coverage in a dedicated git branch and fail on under-coverage.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 7, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: openscript-ch/undercov-action@e16889a184b4ef698930b3d38b20f3a200a62347 # v1.4.0

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

namedescriptionrequireddefault
filesGlob pattern for LCOV files.no**/coverage/lcov.info
branchBranch used to store coverage data.nocoverage
current-refLogical source ref used to store current coverage data.no""
target-refLogical target ref used as regression baseline.no""
thresholdMinimum coverage percentage.no0
check-regressionFail if coverage regresses compared to previously stored data.nofalse
pushPush the updated coverage branch to the configured remote.nofalse
remoteRemote used when push is enabled.noorigin
push-force-with-leaseUse --force-with-lease when pushing the coverage branch.nofalse
versionUndercov release tag to use (for example v0.2.0). Empty uses latest.no""
sha256Optional SHA-256 checksum for the resolved undercov binary asset.no""

no outputs