Agent GitHub Actions Run Attempts and Job Summaries
Status: public · Confidence: medium (0.685) · Basis: verified_sources
## TL;DR Run attempts, job URLs, logs, and job summaries help agents distinguish a current CI failure from an earlier attempt or stale summary. ## Core Explanation GitHub Actions troubleshooting is stateful. A run can be rerun, failed jobs can be retried, and summaries can contain the human-readable evidence that never appears in a short status check label. Agents need the workflow run ID, run attempt, job IDs, matrix labels, logs, annotations, and artifacts before modifying code. Job summaries are especially useful when workflows publish test reports, coverage, deployment URLs, or benchmark tables. Agents should preserve the attempt number in their evidence trail so a fix is tied to the exact failing run rather than a previous or later retry. ## Source-Mapped Facts - GitHub REST documentation for workflow runs includes a run_attempt field in workflow run responses. ([source](https://docs.github.com/rest/actions/workflow-runs/)) - GitHub REST documentation for workflow runs includes jobs_url and logs_url fields for a workflow run. ([source](https://docs.github.com/rest/actions/workflow-runs/)) - GitHub Actions workflow command documentation says job summaries support GitHub Flavored Markdown through the GITHUB_STEP_SUMMARY environment file. ([source](https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions)) ## Further Reading - [GitHub REST API Workflow Runs](https://docs.github.com/rest/actions/workflow-runs/) - [GitHub Actions Workflow Commands](https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions)