Nate Smith
719c9579ba
switch to prompter in workflow commands
2023-08-16 15:19:44 -05:00
Sam Coe
b59f3dc29f
Rewrite issue develop command to fix numerous issues
2023-07-03 14:18:25 +09:00
rajhawaldar
984358444d
gh run cancel needs input validation
2023-06-30 18:55:23 +05:30
William Martin
420f63c3ec
Merge pull request #7526 from cli/wm/zip-log-slashes
...
Support viewing logs for jobs with composite actions
2023-06-05 16:32:44 +02:00
William Martin
3859dfaa03
Improve docs around run rerun job flag ( #7527 )
2023-06-05 16:02:27 +02:00
William Martin
2d3047c7e3
Support viewing logs for jobs with composite actions
2023-06-02 13:40:53 +02:00
vilmibm
5597139df3
switch to []int return for multiselect
2023-05-23 00:12:44 -07:00
vilmibm
8a605fbaf5
Merge remote-tracking branch 'upstream/trunk' into run-prompts
2023-05-19 10:25:18 -07:00
cawfeecake
9473ec890c
add --created flag to gh run ls to filter listed runs by when they were created ( #7352 )
2023-04-25 12:43:19 +02:00
cawfeecake
d7512bb2e7
add --event flag to gh run ls to filter runs by their trigger
2023-04-24 20:50:20 -07:00
Alexander Seiler
218f29f296
Correct some typos
2023-04-21 03:51:31 +02:00
nate smith
c536114de0
use new prompter in run download
2023-04-10 17:38:30 -07:00
nate smith
6fd17ec2d2
delete PromptForRun
2023-04-10 16:43:31 -07:00
nate smith
400da5ac94
golf
2023-04-10 16:43:24 -07:00
nate smith
76fdfaa895
use new prompter in run watch
2023-04-10 16:42:35 -07:00
nate smith
07776d23b1
use new prompter in run rerun
2023-04-10 16:35:00 -07:00
nate smith
415424de85
use new prompter in run cancel
2023-04-10 16:29:24 -07:00
nate smith
9010a2e12c
use new prompter in run view
2023-04-10 16:21:47 -07:00
Phillipp Bertram
32901084bd
lint fixes
2023-03-30 18:12:25 +02:00
Phillipp Bertram
7b3a83157d
cleanup
2023-03-30 18:06:02 +02:00
Phillipp Bertram
409e1555e6
feat(run): add new delete command
2023-03-30 17:02:04 +02:00
nate smith
1fb12a98ea
improve test resiliency
2023-03-29 06:25:35 -07:00
Alex Petrov
852bc00354
feat: allow filtering workflow runs by statuses
2023-03-29 18:39:59 -04:00
Benjamin Chadwick
82662685e3
Autocomplete branch flags ( #6031 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-03-29 16:09:44 +00:00
Wing-Kam Wong
0dd8261d2b
refactor: use net/url JoinPath
2023-03-28 21:25:42 +08:00
Wing-Kam Wong
48ed914d58
refactor: set the default case first
2023-03-28 21:21:11 +08:00
Wing-Kam Wong
cc554135e8
fix: change MaximumNArgs from 2 to 1 in run view.go
2023-03-28 21:16:04 +08:00
Wing-Kam Wong
0fa168b80b
feat: add tests for attempt flag
2023-03-26 19:12:40 +08:00
Wing-Kam Wong
a4c77ffd92
feat: include attempt in getRunLog
2023-03-26 19:12:21 +08:00
Wing-Kam Wong
897a2aa53f
refactor: don't show latest attempt
2023-03-26 16:20:57 +08:00
Wing-Kam Wong
3796b6d6e8
feat: append attempt number in returned run url
2023-03-26 16:10:42 +08:00
Wing-Kam Wong
6c66342742
feat: pass latest attempt to RenderRunHeader for watch
2023-03-26 14:38:53 +08:00
Wing-Kam Wong
baaa5c3184
feat: add attemptLabel to RenderRunHeader
2023-03-26 14:38:24 +08:00
Wing-Kam Wong
343e730016
feat: pass attempt to RenderRunHeader
2023-03-26 14:38:05 +08:00
Wing-Kam Wong
9a0f7916c3
feat: update GetRun path based on attempt
2023-03-26 14:11:42 +08:00
Wing-Kam Wong
bd0f535dea
feat: pass 0 to fetch latest attempt
2023-03-26 14:11:19 +08:00
Wing-Kam Wong
2894695652
feat: add attempt flag to run view
2023-03-26 14:11:03 +08:00
Sam Coe
39805fa9b1
Properly handle closing files that have been writen to ( #7199 )
2023-03-23 01:17:47 +00:00
Sam Coe
1786ece4a4
Change uint8 to uint64 to hold job with more than 255 run attempts ( #6935 )
2023-01-31 08:55:41 +11:00
Mislav Marohnić
b12ea845ef
Migrate to the new Cobra command grouping feature
2022-11-09 16:42:13 +01:00
Natthakit Susanthitanon
8617eb7df9
Add jobs field for run view --json ( #6507 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-11-03 12:59:35 +00:00
Mislav Marohnić
aec2c5f330
run: add number json field to access run number
2022-10-24 15:40:07 +02:00
Mislav Marohnić
3fe5026d39
Migrate to tableprinter from go-gh ( #6346 )
2022-10-17 15:15:39 +02:00
Natthakit Susanthitanon
4c3b123db6
Return empty error before starting a pager program ( #6419 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-10-13 19:08:13 +02: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
Sam Coe
e7102f9d84
Migrate to go-gh text package ( #6236 )
2022-09-14 09:23:55 +04:00
Sam Coe
6a8deb1f5a
Integrate latest go-gh packages ( #6084 )
2022-08-18 09:04:13 +03:00
vilmibm
41385477c3
fix linting
2022-07-27 14:15:27 -05:00
vilmibm
d5334f4115
Revert "update linter checks"
...
This reverts commit 40ecb8c188 .
2022-07-27 13:30:41 -05:00
vilmibm
40ecb8c188
update linter checks
2022-07-26 16:06:52 -05:00