Github Get Workflow Runs
github_get_workflow_runsFetches a workflow run by ID or every run for a branch, tag, or commit, including jobs and steps, and optionally polls until runs finish.
Instructions
Reads a workflow run by id, or every run on the commit that head names, with each run's jobs and their steps. A wait polls until every run has completed, and the server caps it so a task ends before its worker hands it to another. timed_out says a run had not completed when the tool returned. See #537.
Workflow and conventions: github_get_skill('ci-checks').
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_owner": "<repo_owner>",
"repo_name": "<repo_name>"
},
"name": "github_get_workflow_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| head | No | Branch, tag or SHA whose commit to read every run of, in place of run_id | |
| run_id | No | A run's id, such as the workflow_run_id a workflow dispatch or github_rerun_job returns | |
| repo_name | Yes | ||
| repo_owner | Yes | ||
| wait_seconds | No | Seconds to wait for every run to complete, capped by the server |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | Yes | ||
| timed_out | Yes | ||
| truncated | Yes |