-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome
Description
Describe the feature or problem you’d like to solve
gh pr checks --watch is great and has been a useful tool for me. I have it popping up notifications on exploratory PRs or marking draft PRs as ready when checks pass, and all that.
But it'd be great if I could have it exit when it sees the first failed check. The orgs I engage with have long CI processes (10 minutes plus) but many of those checks can fail much earlier on important thing.
Proposed solution
Add a --fail-fast argument to pr checks that, when the first failed check is seen by it in --watch context, tells the CLI to exits (preferably with a specific exit code, but not a hard requirement).
Additional context
(Very grateful for this very handy tool.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome