fix(ci status): add check for pending pipelines
Created by: EduardBaer
Description
New pipelines might take a while until they have the status "running". During that time they are "pending". I believe glab ci status --live
should wait for pipelines that are about to start. Adding this change makes glab wait in those cases instead of showing the "Choose an action" prompt.
How Has This Been Tested?
Manually tested.
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms)