list_action_runs
List Gitea Actions workflow runs in a repository with pagination and filters for branch, event, status, actor, or head SHA. Get run IDs to cancel or rerun workflows.
Instructions
List Gitea Actions workflow runs in one repository. Paginated: page is 1-based, limit <= 100; keep paging until a page returns fewer than limit. Filters: branch, event (push, pull_request, schedule, etc.), status (pending, queued, waiting, in_progress, running, success, failure, skipped, cancelled), actor (username that triggered the run), head_sha. The response is a wrapper object { workflow_runs: [...], count: number } — the runs live under the workflow_runs key, NOT at the top level. Use this to find a run's id before calling get_action_run, cancel_action_run, or rerun_action_run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| actor | No | Filter by the user who triggered the run (username) | |
| event | No | Filter by trigger event (e.g. push, pull_request, schedule) | |
| limit | No | Runs per page | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| branch | No | Filter by head branch name | |
| status | No | Filter by run status: pending, queued, waiting, in_progress, running, success, failure, skipped, cancelled | |
| head_sha | No | Filter by the head commit SHA |