Comment on PRs with links to Replay of replays and test runs
- name: Generate Test Run ID
id: test-run-id
run: echo "::set-output name=UUID::$(uuidgen | tr A-Z a-z)"
shell: bash
- uses: replayio/action-comment@main
with:
apiKey: ${{ secrets.RECORD_REPLAY_API_KEY }}
issue-number: ${{ github.event.pull_request.number }}
test-run-id: ${{ steps.test-run-id.outputs.UUID }}
Required | Name | Description | Default |
---|---|---|---|
✅ | api-key |
The Replay API Key used to upload recordings | |
✅ | issue-number |
The number of the pull request to comment with failed test links | |
recordings |
An array of recordings from the Replay CLI | ||
summary-message |
Templated message (by @formatjs/intl) for the upload summary. | false |
|
test-run-id |
UUID generated for a test run. If omitted, the test run link will not be included in the comment. | ||
test-run-message |
Templated message (by @formatjs/intl) for the test run link. | false |