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:
Tyler McGoffin 2025-01-29 11:57:11 -08:00 committed by GitHub
commit 15783a6be5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}