Merge pull request #10323 from iamazeem/stop-progress-indicator-on-failure-for-run-list
[gh run list] Stop progress indicator on failure from `--workflow` flag
This commit is contained in:
commit
15783a6be5
1 changed files with 2 additions and 0 deletions
|
|
@ -119,6 +119,8 @@ func listRun(opts *ListOptions) error {
|
|||
}
|
||||
|
||||
opts.IO.StartProgressIndicator()
|
||||
defer opts.IO.StopProgressIndicator()
|
||||
|
||||
if opts.WorkflowSelector != "" {
|
||||
// initially the workflow state is limited to 'active'
|
||||
states := []workflowShared.WorkflowState{workflowShared.Active}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue