Re-run Workflow Run
github.rerun_workflow_run
ActionBusiness appsconnection required
Calls POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun.
Re-run a finished Actions run, or only the jobs in it that failed.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- GitHub
- Secret shape
- the GitHub personal access token
- Resolved by
- config.connection_id, else node.connection_id, else the tenant's sole GitHub connection
Configuration
4 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
owner Repository owner — the user or organisation login. Supports {{ }}. | string | Yes | — | — | octocat |
repo Repository name, without the owner prefix. Supports {{ }}. | string | Yes | — | — | hello-world |
run_id Numeric workflow run id, as returned by list_workflow_runs. | string | Yes | — | — | 1 |
failed_jobs_only Re-run only the failed jobs, using /rerun-failed-jobs instead of /rerun. | boolean | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"owner": "octocat",
"repo": "hello-world",
"run_id": "1"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok True when GitHub accepted the call. | boolean | true |
run_id The run that was re-run. | string | — |
failed_jobs_only Which endpoint was used. | boolean | — |
{
"failed_jobs_only": false,
"ok": true,
"run_id": ""
}Solutions with GitHub
See Re-run Workflow Run run in a workflow.
In a technical demo we add the GitHub connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.