glab ci status ignores --repo flag
Checklist
-
I'm using the latest version of the extension (Run glab --version)- Extension version: 1.53.0 (2025-02-11)
-
Operating system and version: MacOS 15.3.1 -
Gitlab.com or self-managed instance? gitlab.com -
GitLab version (if self-managed) GitLab version here (Use the versionendpoint, like this: gitlab.my-company.com/api/v4/version) -
I have performed glab auth statusto check for authentication issues -
Run the command in debug mode (like DEBUG=true glab mr list) and attach any useful output
Summary
Environment
- OS: Darwin 24.3.0 arm64
- SHELL: /bin/zsh
- TERM: xterm-256color
- GLAB: Current glab version: 1.53.0 (2025-02-11)
Other:
Steps to reproduce
Navigate to some git repository (cd repo1) and run glab ci status --repo repo2
What is the current bug behavior?
CLI will output repo1's CI status, not repo2. If current directory is not a git repository, flag works as expected
What is the expected correct behavior?
CLI output repo2's CI status
Relevant logs and/or screenshots
Possible fixes
Edited by Alexander Dobrynin