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 |
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,
});
name | required | description |
---|---|---|
owner | yes | |
repo | yes | |
run_id | yes |
The id of the workflow run. |
See also: GitHub Developer Guide documentation.