Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.13 KB

reRunWorkflow.md

File metadata and controls

51 lines (40 loc) · 1.13 KB
name example route scope type
Re-run a workflow
octokit.rest.actions.reRunWorkflow({ owner, repo, run_id })
POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun
actions
API method

Re-run a workflow

Deprecation Notice: This endpoint is deprecated. We recommend migrating your existing code to use the new retry workflow endpoint.

Re-runs your workflow run using its id. You must authenticate using an access token with the repo scope to use this endpoint. GitHub Apps must have the actions:write permission to use this endpoint.

octokit.rest.actions.reRunWorkflow({
  owner,
  repo,
  run_id,
});

Parameters

name required description
owneryes
repoyes
run_idyes

The id of the workflow run.

See also: GitHub Developer Guide documentation.