mesh-payments/Unified test results PR comment
Posts a sticky PR comment with coverage, suite counts, per-file weak spots, and an opt-in Playwright report link.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| coverage-summary | Path to a v8 `coverage-summary.json` (json-summary reporter). One of coverage-summary or coverage-report is required. | no | — |
| coverage-report | Path to a Jest `coverage-report.json` (the --json --coverage --testLocationInResults shape). One of coverage-summary or coverage-report is required. | no | — |
| unit-junit | Path to a unit-test JUnit XML. When set, the Suites table is rendered with a Unit row. | no | — |
| e2e-junit | Path to an E2E JUnit XML. When set, the Suites table includes an E2E row. All other e2e-* inputs are no-ops without this. | no | — |
| e2e-opt-in | Truthy when the repo's E2E opt-in flag is on. Empty/unset → the E2E row is rendered as "skipped (opt-in)" regardless of what the junit contains. | no | "" |
| e2e-feature-name | Label rendered in the E2E row (e.g. `E2E (RUN_E2E)`). | no | E2E |
| e2e-skip-note | Optional blockquote text rendered under the Suites table when the E2E row reads "skipped (opt-in)". Use to explain the gate (e.g. "E2E is gated on `MY_FLAG` and did not run on this PR."). | no | "" |
| weak-threshold | Lines-coverage % below which a file is reported in the weak-spots <details> block. | no | 80 |
| weak-limit | Maximum number of rows in the weak-spots table. When the cap trims rows, the summary reads "showing X of Y". | no | 50 |
| comment-header | Sticky-comment header marker. Use the same value across jobs that should write to the same comment. | no | test-results |
| playwright-footer-note | Optional blockquote rendered at the end of the comment (replace mode). Use to explain the Playwright report flow (e.g. "Playwright report is only published on failure."). | no | "" |
| playwright-report-url | When set, the action runs in append mode: it appends a Playwright report footer to the existing sticky (matched by comment-header) instead of building a new comment. | no | — |
| playwright-append-note | Optional trailing line rendered under the appended Playwright report block (e.g. "Report includes screenshots, video, and trace viewer per failure."). | no | "" |
| github-token | GitHub token used to post the sticky comment. Defaults to GITHUB_TOKEN. | no | ${{ github.token }} |
Outputs
no outputs