Github Get Workflow Runs
github_get_workflow_runsReads workflow runs by ID or by branch, tag, or SHA commit, including each run's jobs and steps. Optionally waits until all runs complete, so you can inspect CI status and results.
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('pr-analysis').
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 github_dispatch_workflow 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 |