github_actions_download_job_logs
Retrieve a failing CI job's log excerpts: last 200 lines and all error lines, including line numbers and total length.
Instructions
Read a failing job's log. Returns the last 200 lines plus every line that looks like an error, with the line numbers and the log's real length — not the whole file, which is routinely megabytes. Use this after actions_list_jobs_for_run has named the job; try checks_list_annotations first, which is cheaper when the check reported the failure with a file and a line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | The name of the repository without the `.git` extension. The name is not case sensitive. | |
| jobId | Yes | The unique identifier of the job. This is the job's `id` from `actions_list_jobs_for_run`, not its name and not the run's id. | |
| owner | Yes | The account owner of the repository. The name is not case sensitive. |