List Workflow Runs
github.list_workflow_runs
ActionBusiness appsconnection required
Calls GET /repos/{owner}/{repo}/actions/runs, or the per-workflow form.
List Actions runs for a repository, or for one workflow.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- GitHub
- Secret shape
- the GitHub personal access token
- Resolved by
- config.connection_id, else node.connection_id, else the tenant's sole GitHub connection
Configuration
8 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
owner Repository owner — the user or organisation login. Supports {{ }}. | string | Yes | — | — | octocat |
repo Repository name, without the owner prefix. Supports {{ }}. | string | Yes | — | — | hello-world |
workflow_id Limit to one workflow (id or file name). Empty lists the whole repository. | string | No | — | — | — |
branch Only runs for this branch. | string | No | — | — | — |
event Only runs triggered by this event, e.g. push or workflow_dispatch. | string | No | — | — | — |
status Only runs in this status or with this conclusion. | string | No | — | one of "queued", "in_progress", "completed", "success", "failure", "neutral", "cancelled", "skipped", "stale", "timed_out", "action_required", "requested", "waiting", "pending" | — |
actor Only runs triggered by this username. | string | No | — | — | — |
max_items Stop after this many rows; further pages are followed via the Link header. | number | No | 100 | 1–1000 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"max_items": 100,
"owner": "octocat",
"repo": "hello-world"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
runs The runs this step read. | array | — |
runs[].id Workflow run id. | number | — |
runs[].name Workflow name. | string | — |
runs[].status queued, in_progress or completed. | string | — |
runs[].conclusion success, failure, cancelled… once finished. | string | — |
runs[].head_branch Branch the run is for. | string | — |
runs[].head_sha Commit the run is for. | string | — |
runs[].html_url Link to the run. | string | — |
runs[].run_number The run's number within its workflow. | number | — |
runs[].created_at When the run was created, ISO 8601. | string | — |
count How many rows this step returned. | number | — |
{
"count": 0,
"runs": [
{
"conclusion": "",
"created_at": "",
"head_branch": "",
"head_sha": "",
"html_url": "",
"id": 0,
"name": "",
"run_number": 0,
"status": ""
}
]
}Solutions with GitHub
See List Workflow Runs run in a workflow.
In a technical demo we add the GitHub connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.