Commit graph

11 commits

Author SHA1 Message Date
Azeem Sajid
1e6a2b1aff
Add --compact flag to run watch (#10629)
* [gh run watch] Support `--compact` flag

* [gh run watch] Support `--compact` flag

* Add changes for updated AC

* Incorporate review changes

* docs(run watch): fill up the line to 80 chars

Signed-off-by: Babak K. Shandiz <babakks@github.com>

---------

Signed-off-by: Babak K. Shandiz <babakks@github.com>
Co-authored-by: Babak K. Shandiz <babakks@github.com>
2025-05-23 10:55:41 +01:00
Andy Feller
93e51c583b
Update pkg/cmd/run/shared/presentation.go 2025-04-08 16:40:39 -04:00
Andy Feller
918cafc222 Deprecate ColorScheme.Gray for ColorScheme.Muted
This commit converts all of the places using ColorScheme.Gray and ColorScheme.Grayf to Muted and Mutedf.

There is a little extra tidying up with local variable names or converting code to use Mutedf format.
2025-04-06 10:18:48 -04:00
Wing-Kam Wong
897a2aa53f refactor: don't show latest attempt 2023-03-26 16:20:57 +08:00
Wing-Kam Wong
baaa5c3184 feat: add attemptLabel to RenderRunHeader 2023-03-26 14:38:24 +08:00
Isaac Shalom
f1be4dc51c
Fix looking up workflow name for workflow runs (#6266)
The API field `WorkflowRun.name` is not guaranteed to correspond to the workflow name anymore. This introduces additional API lookups that resolve Workflows by their ID and look up their name in a future-proof fashion.

It also adds two new JSON fields for export: `displayTitle` and `workflowName`.

Co-authored-by: Christina Guo <61271066+guo-chris@users.noreply.github.com>
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-09-21 20:41:19 +02:00
Mislav Marohnić
11fbb60ae7 Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
vilmibm
0d0ec84775 absorb gh job view into gh run view 2021-03-31 16:17:30 -05:00
vilmibm
e7fa99b70f share annotation printing 2021-03-29 16:34:17 -05:00
vilmibm
43ab74a023 share job rendering code 2021-03-29 16:31:18 -05:00
vilmibm
5d9a7825f8 share run header printing 2021-03-29 16:21:28 -05:00