GitHub Actions Integration
Connect GitHub Actions to view CI build timelines, trigger workflows, and deep-link sessions to their originating CI run.
The GitHub Actions integration connects your CI pipeline to the TestRelic session workspace, enabling build timeline visualization, workflow triggering, and bidirectional deep linking between test sessions and CI runs.
What this integration enables
- CI build timeline — A visual timeline of your GitHub Actions workflow steps, displayed in the session workspace alongside test results.
- Build links — Each test run card in the dashboard shows a direct link to the GitHub Actions run that triggered it.
- Workflow trigger — Trigger a GitHub Actions workflow directly from the TestRelic platform (useful for re-running a failed CI check without leaving the platform).
- Run metadata — Branch, commit SHA, workflow name, and run number are surfaced in the run list and session detail.
Connecting GitHub Actions
- Navigate to Settings → Integrations.
- Click Connect on the GitHub Actions card.
- In the connection dialog, provide:
- Your GitHub organization or username.
- A GitHub Personal Access Token (PAT) with
repoandactionsscopes (or a GitHub App installation token). - The repository name to connect.
- Click Save to verify and store the connection.
Token scopes required
The PAT must have at minimum:
repo— to read repository and workflow dataactions:read— to list workflow runsactions:write— to trigger workflow dispatches (required for workflow trigger feature)
CI build timeline
When the integration is connected, the GitHub Actions tab in the Test Case Detail and Session Workspace views (see the Cloud Platform section) renders a step-by-step CI build timeline:
- Each workflow job is displayed as a timeline segment.
- Step names, durations, and statuses are shown.
- A link to the full GitHub Actions run opens in a new tab.
Triggering workflows
From within the session workspace or the run detail page, use the Trigger Build button to dispatch a workflow run on GitHub Actions. This uses the workflow dispatch event.
Actions write permission required
Workflow triggering requires the actions:write scope on your GitHub token. If the token does not have this scope, the trigger button is disabled.
Auto-detected CI metadata
Even without the integration connected, TestRelic auto-detects GitHub Actions metadata from the reporter:
- Workflow name and run number (from
GITHUB_WORKFLOWandGITHUB_RUN_NUMBERenvironment variables) - Commit SHA (
GITHUB_SHA) - Branch (
GITHUB_REF_NAME)
This metadata is displayed in the run list and session detail automatically. The integration adds the build timeline and workflow trigger capabilities on top.
Amplitude Integration
Connect Amplitude to capture analytics events during test sessions and align test navigation patterns with real user journeys.
Jira Integration
Link test failures to Jira issues, quick-create tickets from sessions, and surface Jira issue status directly in the TestRelic workspace.