cli/pkg/cmd/workflow
Mislav Marohnić 02881b4783
Correctly determine run started/elapsed timestamps (#5945)
This switches `run list` and `run view` commands to measure how long ago did the run happen by using `run_started_at`, which is the timestamp of the latest run in a series, instead of `created_at`, which is the timestamp of the first run. This change also fixes accurate duration for in-progress runs.
2022-07-21 17:30:46 +02:00
..
disable Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
enable Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
list Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
run Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
shared Add tests to enable a workflow in the disabled_inactivity state 2022-01-16 22:22:08 +09:00
view Correctly determine run started/elapsed timestamps (#5945) 2022-07-21 17:30:46 +02:00
workflow.go Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00