actions-marketplace-validations/Coverage Diff
Publish diff coverage report as PR comment, and create a coverage badge to display on the readme.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | A GitHub token to write comments and write the badge to the wiki. | yes | — |
| coverage-filename | Path of the json-summary file to analyze. | no | coverage/coverage-summary.json |
| base-summary-filename | Name of the json file containing the repository's default branch json-summary stored in the repo wiki. | no | base-summary.json |
| allowed-to-fail | If true, it will not fail even if the current branch's coverage is lower than the default branch's coverage. | no | false |
| badge-enabled | Whether or not a badge will be generated and stored. | no | true |
| badge-filename | Name of the json file containing badge informations stored in the repo wiki. | no | coverage-diff-badge.json |
| badge-threshold-green | If the coverage percentage is above or equal to this value, the badge will be green. | no | 100 |
| badge-threshold-orange | If the coverage percentage is not green and above or equal to this value, the badge will be orange. Otherwise it will be red. | no | 70 |
Outputs
no outputs