Skip to content

gh list run does not support the 'Pending' status #10064

@mauritz-lovgren

Description

@mauritz-lovgren

Describe the bug

The gh list run -R <owner>/<repo> --status=pending is not supported. It is by the corresponding API query (gh api /repos/<owner>/<repo>/actions/runs?status=pending, though. Shouldn't this status filtering also be available in the gh list run command?

Steps to reproduce the behavior

  1. Type gh list run -R <owner>/<repo> --status=pending
  2. Command fails with 'invalid argument "pending" for "-s, --status" flag: valid values are {queued|completed|in_progress|requested|waiting|action_required|cancelled|failure|neutral|skipped|stale|startup_failure|success|timed_out}'

Expected vs actual behavior

Expected that the command should be able to list only workflows in the 'Pending' status (in addition to the other statuses).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggh-runrelating to the gh run commandgood first issuehelp wantedContributions welcomep3Affects a small number of users or is largely cosmetic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions