POST
github_actions_rerun_failed_jobs.py
Requires
repo, read:user.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Re-run only the failed jobs of a run, and the jobs that depend on them. The right tool for a flaky test; actions_rerun_workflow re-runs everything, including what already passed.
from charter.packs import github
result = await github.actions_rerun_failed_jobs.ainvoke({"owner": ..., "repo": ..., "runId": ...})
repo, read:user.| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
runId * | integer | The ID of the workflow run. |
| Field | Type | Description |
|---|---|---|
enableDebugLogging | boolean | Whether to enable debug logging for the re-run. |
Was this page helpful?