linkdata/gitcoverage
Create/update <branch>/badge.svg (+ optional report.html) on the 'gitcoverage' branch.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 5, 2026
- License
- MIT
Pinned Snippet
uses: linkdata/gitcoverage@03383ad3a6ff45e117a50d29d21c3a95c2d5d12a # v11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| coverage | Coverage percentage (e.g. 83 or 83%) | yes | — |
| branch | Optional source branch name override (recommended for tag-triggered workflows) | no | — |
| report | Optional path to an HTML coverage report file to publish as report.html | no | — |
| token | GitHub token used to push updates to the gitcoverage branch | no | — |
| run-on-pull-request | When true, attempt publishing on pull_request / pull_request_target events. The default is false because PR-state badges are usually not intended and publishing requires write access. | no | false |
Outputs
| name | description |
|---|---|
| should-publish | Whether this run should publish coverage artifacts. |