rerun_action_run
Rerun a completed Gitea Actions workflow run using its run ID, creating a new attempt. Confirm the run has finished first, as active runs cannot be rerun.
Instructions
Rerun an entire Actions workflow run by runId. Only valid on runs that have COMPLETED (status: success, failure, cancelled, skipped) — rerunning an active run returns an error. Requires Gitea 1.26.0+. Creates a NEW run (incrementing run_attempt); the original run is not modified. ALWAYS call get_action_run first to confirm the run has completed, and confirm the runId with the user before rerunning. To rerun ONLY the failed jobs instead of the whole run, use rerun_action_run_failed_jobs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| runId | Yes | Action workflow run ID |