github-api icon indicating copy to clipboard operation
github-api copied to clipboard

Enhancement: support GitHub API to `rerun-failed-jobs`

Open ahus1 opened this issue 3 years ago • 0 comments

When looking at GHWorkflowRun, there is the method rerun() but no method to rerun only failed tests.

It's documented in the API here: https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28#re-run-failed-jobs-from-a-workflow-run

This has been added to the octokit client in June 15, see https://github.com/octokit/plugin-rest-endpoint-methods.js/releases/tag/v5.14.0

It would be great to have this in the Java API as well.

Thanks!

ahus1 avatar Dec 19 '22 15:12 ahus1