fix: Getting the last pipeline is broken with merged results
Description
As mentioned in #7475 (closed), glab ci get
immediately SIGSEGVs if you try to check a commit's pipeline that has merged results. This MR falls back to checking the pipeline via the merge request instead of a commit in that case.
Related Issues
Resolves #7475 (closed)
How has this been tested?
Screenshots (if appropriate):
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) -
Test gap
Closes #7475 (closed)
Edited by Gary Holtz