Lists GitHub Actions workflow runs for a repository, with optional filtering by workflow, branch, event, status, and more. If workflowId is provided, the list is scoped to that specific workflow; otherwise it returns runs across all workflows in the repository.
For authentication setup, see GitHub workflow run actions.
The following inputs are available for this action.
Input | Type | Description | Example |
|---|---|---|---|
token | String | Required. GitHub Personal Access Token stored as a secret. Fine-grained PATs require Actions: read permission. Classic PATs require repo scope. |
|
owner | String | Required. The account owner of the repository (user or organization login). Case-insensitive. |
|
repo | String | Required. Repository name without the .git suffix. Case-insensitive. |
|
workflowId | String | Optional. The workflow file name (for example, |
|
branch | String | Optional. Filter by branch name. |
|
event | String | Optional. Filter by triggering event type. |
|
status | String | Optional. Filter by run status or conclusion. Allowed values: |
|
actor | String | Optional. Filter by the GitHub login of the user who triggered the workflow. |
|
headSHA | String | Optional. Only return runs with this specific head commit SHA. |
|
resultsPerPage | Int | Optional. Number of results per page (1–100). Default: |
|
page | Int | Optional. Page number of results to fetch. Default: |
|
created | String | Optional. Filter by creation date using GitHub's date range syntax. |
|
excludePullRequests | Boolean | Optional. If |
|
checkSuiteId | Int | Optional. Filter by the ID of the associated check suite. |
|
selectors | List | Optional. JQ selectors to extract values from the response. Runs are in |
|
This action returns the following outputs.
Output | Type | Example |
|---|---|---|
response | Object | |
success | Boolean |
|
errorMessage | String | Contains the GitHub API error response body. |
Workflow example |
|---|
|