Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Respect --watch when given --json in gh pr checks #10013

@IvanUkhov

Description

@IvanUkhov

Describe the bug

Currently, gh pr checks 42 --repo foo/bar --required --watch --json name,status exits immediately even if there are pending required checks.

Steps to reproduce the behavior

Not available.

Expected vs actual behavior

It should either raise an exception that --watch cannot be combined with --json or preferably support the combination.

Logs

Not available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggh-prrelating to the gh pr commandp3Affects 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