Rerun a workflow
rerun_workflowRerun a finished Actions workflow run, or only one job and its dependent jobs, on Forgejo/Gitea; in-progress runs are refused and unsupported instances are reported.
Instructions
Rerun a finished Actions workflow run (owner/repo/run_id; requires write mode), or with job_id only that job and the jobs that depend on it — the job id from list_workflow_jobs. Needs Forgejo 17+ or Gitea: an instance without the endpoint is reported as such, with its version, and nothing is rerun. The answer is the run as it now stands, in list_workflow_runs' shape. A run still in progress is refused — cancel it first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner. | |
| job_id | No | Rerun only this job, and the jobs that depend on it, instead of the whole run — the job `id` from `list_workflow_jobs`. | |
| run_id | Yes | Workflow run id (the `id` field from `list_workflow_runs`). Required even with `job_id`: Gitea addresses a job under its run, and the answer reads the run back. |