Commit graph

21 commits

Author SHA1 Message Date
Mislav Marohnić
0e94de1ce6 Address run download feedback
- With no arguments in TTY mode, prompt which artifacts to download
- Change `--pattern` argument to be just `--name` and only do exact
  matching
- For multi-archive downloads, prefix the destination path with the name
  of the artifact
- Add tests exercising HTTP functionality
- Avoid "zipslip" path injection when extracting ZIP files
- Add tests for ZIP extraction
2021-04-07 19:56:28 +02:00
Mislav Marohnić
8552cacf79 Fix test after merge 2021-04-02 21:04:31 +02:00
Mislav Marohnić
9c4afca003 Merge remote-tracking branch 'origin' into artifact-download 2021-04-02 21:00:25 +02:00
Mislav Marohnić
b41681cbb7 Restore Go < 1.16 compatibility 2021-04-02 20:54:56 +02:00
Mislav Marohnić
51a0a27a6f Add ARTIFACTS information to run view 2021-04-02 20:52:41 +02:00
Mislav Marohnić
c54e3c9ca8 Add run download command for downloading workflow artifacts 2021-04-02 20:42:18 +02:00
Nate Smith
216cfb631f
Merge pull request #3333 from cli/run-rerun
gh run rerun
2021-04-02 11:06:15 -05:00
Nate Smith
9fe7326d46
Merge pull request #3338 from cli/merge-job-run-view
absorb job view into run view
2021-04-02 11:00:48 -05:00
vilmibm
238a371477 no need to hide this 2021-04-02 10:58:33 -05:00
Sam Coe
8b1ed28121
Add section in help for actions commands 2021-04-01 21:05:50 -07:00
vilmibm
8a60ea3c62 gh run rerun 2021-04-01 19:32:36 -05:00
vilmibm
1ddb33bf3c add GetRunsWithFilter 2021-04-01 19:32:36 -05:00
vilmibm
0d0ec84775 absorb gh job view into gh run view 2021-03-31 16:17:30 -05:00
vilmibm
0ecb04c687 small refactor around prompting for runs 2021-03-30 15:48:42 -05:00
Nate Smith
5a3641540f
Merge pull request #3318 from cli/list-by-workflow
support --workflow in run list
2021-03-29 16:59:37 -07:00
vilmibm
6f898dcbb3 share prForRun 2021-03-29 16:37:42 -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
vilmibm
a225173551 support --workflow in run list 2021-03-28 14:03:25 -05:00
Nate Smith
126b498e9f
Actions Support Phase 1 (#2923)
* Implement first round of support for GitHub Actions

This commit adds:

gh actions
gh run list
gh run view
gh job view

as part of our first round of actions support. These commands are
unlisted and considered in beta.

* review feedback

* tests for exit status on job view

* spinner tracks io itself

* review feedback

* fix PR matching

* enable pager for job log viewing

* add more colorf functions

* add AnnotationSymbol

* hide job, run

* do not add method to api.Client

* remove useless cargo coded copypasta
2021-03-16 13:59:34 -07:00