Skip to main content

List workflow runs

List recent GitHub Actions runs, newest first, for one workflow or the whole repository.

Command in the GitHub toolkit · id ooa.github/list_workflow_runs · 8 inputs (3 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Endpoint addressStringNohttps://api.github.comAPI address. Keep the default for github.com; for GitHub Enterprise Server use https://github.yourcompany.com/api/v3.
TokenCredentialYesPersonal access token or app token from the vault, with access to the repository. Or leave it empty and choose a connection that signs in, which gets and renews the token.
OwnerStringYesUser or organization that owns the repository, e.g. acme-corp.
RepoStringYesRepository name without the owner, e.g. billing-service.
WorkflowStringNoWorkflow file name or id. Empty lists runs of all workflows.
BranchStringNoOnly runs on this branch.
StatusStringNoOnly runs with this status or result, e.g. queued, in_progress, completed, success, failure.
Maximum resultsNumberNo30Most items to return; pages are read until this many are found.

Outputs​

OutputTypeWhat it is
tableTableColumns: id, name, status, conclusion, branch, event, created_at, url.
countNumberNumber of runs returned.