Skip to content

fix: glab ci status needs terminal on stdin

Neil Roza requested to merge realtime-neil/glab-cli:fix-7235 into main

Description

Modify commands/ci/status/status.go to avoid prompting when stdin has no terminal.

Related Issues

Resolves #7235 (closed)

How has this been tested?

$ timeout --signal=INT 5s dd if=/dev/zero | ./bin/glab ci status

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

Merge request reports

Loading