Sample - GitHub REST API
POST/repos/{owner}/{repo}/actions/runs/{run_id}/rerun

Re-run a workflow

Re-runs your workflow run using its id.

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters · 1 body field
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.
run_idintegerrequired
The unique identifier of the workflow run.
enable_debug_loggingbooleanoptional
Whether to enable debug logging for the re-run.
Default:false

1 status code
201Response