Skip to content

Enhancement: support GitHub API to rerun-failed-jobs #1582

@ahus1

Description

@ahus1

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions