feat: PR comment test summary per TestJob (Story 3.13)#10
Merged
Conversation
Add optional `github-token` input to post/update a PR comment with test highlights. Uses HTML comment markers for multi-TestJob upsert so each job updates its own section in a single unified comment. Non-blocking — errors are logged as warnings, never fail the Action.
When github-token input is not provided, falls back to GITHUB_TOKEN environment variable so users get PR comments without extra config.
…EADME Add fallback to github.context.issue.number for issue_comment events where payload.pull_request is undefined. Update README with github-token and test-job-name inputs, PR comment example, and corrected non-blocking guarantee section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
github-tokeninput to post/update a PR comment with test highlights per TestJob<!-- tj:{name} -->) for multi-TestJob upsert — each CI job updates its own section in a single unified commentcore.warning(), never affects Action exit codeTest plan
pnpm testpasses with 235 tests, zero regressionspnpm buildcompiles cleanly with@actions/githubbundledpnpm lintreports no errorsgithub-token: ${{ github.token }}to confirm comment creationgithub-tokento confirm no comment is posted (backward compatible)