glab ci status - wrong branch

Checklist

  • I'm using the latest version of the extension (Run glab --version)
    • Extension version: 1.36.0
  • Operating system and version: Fedora 37 Workstation 64 bits
  • Gitlab.com or self-managed instance? self-managed instance
  • GitLab version (if self-managed) 16.8.1 (Use the version endpoint, like this: gitlab.my-company.com/api/v4/version)
  • I have performed glab auth status to check for authentication issues

Summary

glab ci status does not display the current branch pipeline. glab ci status --branch=master does not display the pipeline for the requested branch. It appears that both always display the latest pipeline from the repository.

Environment

  • OS: Linux 6.0.18-200.fc36.x86_64 x86_64
  • SHELL: /usr/bin/zsh
  • TERM: xterm-256color
  • GLAB: glab version 1.36.0%

Other:

Steps to reproduce

See Summary section.

What is the current bug behavior?

Displays the pipeline of another branch and not the current or requested branch (--branch). See Summary section for details.

What is the expected correct behavior?

Displays the pipeline for the current or requested branch (--branch).