openscript-ch/undercov
Track LCOV coverage in a dedicated git branch and fail on under-coverage.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 7, 2026
- License
- MIT
Pinned Snippet
uses: openscript-ch/undercov-action@e16889a184b4ef698930b3d38b20f3a200a62347 # v1.4.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| files | Glob pattern for LCOV files. | no | **/coverage/lcov.info |
| branch | Branch used to store coverage data. | no | coverage |
| current-ref | Logical source ref used to store current coverage data. | no | "" |
| target-ref | Logical target ref used as regression baseline. | no | "" |
| threshold | Minimum coverage percentage. | no | 0 |
| check-regression | Fail if coverage regresses compared to previously stored data. | no | false |
| push | Push the updated coverage branch to the configured remote. | no | false |
| remote | Remote used when push is enabled. | no | origin |
| push-force-with-lease | Use --force-with-lease when pushing the coverage branch. | no | false |
| version | Undercov release tag to use (for example v0.2.0). Empty uses latest. | no | "" |
| sha256 | Optional SHA-256 checksum for the resolved undercov binary asset. | no | "" |
Outputs
no outputs