Skip to content

Comment on PRs with results of an Replay automated test run

License

Notifications You must be signed in to change notification settings

replayio/action-comment

Repository files navigation

replayio/action-comment

Comment on PRs with links to Replay of replays and test runs

Usage

- 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 }}

Arguments

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

About

Comment on PRs with results of an Replay automated test run

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •