Skip to content

gh run view --attempt #6088

@dgholz

Description

@dgholz

Should be able to choose which attempt of a run to view

Following on from #5629, now gh run view only shows the latest attempt. Which means you can either retry a failed run OR check its logs, but not both at the same time.

Proposed solution

A new option --attempt that defaults to latest, which allows the user to specify which run attempt they would like to view.

It benefits the CLI and its users by matching more closely the web UI, which lets users choose which attempt to view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLIhelp wantedContributions welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions