Commit graph

2856 commits

Author SHA1 Message Date
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
Kenichi Kocha
89caedf181
Add -R as shorthand of --repo flag for search commands (#7274) 2023-04-07 17:41:51 +10:00
Caleb Brose
27a3fcc807 Fix invoker immediately closing 2023-04-05 19:33:50 -05:00
Nate Smith
08f9370345
Merge pull request #7254 from phillippbertram/feat/add-cmd-gh-run-delete
feat: add command `gh run delete`
2023-04-04 17:06:07 -07:00
nate smith
75dc9c0c22 extend secure storage default to auth refresh 2023-04-04 15:22:42 -07:00
nate smith
d9db81db4f fix apparent typo 2023-04-04 11:13:53 -07:00
nate smith
5d56dfbf42 add --insecure-storage and make secure storage the default 2023-04-04 11:13:43 -07:00
Kenichi Kocha
1263412055
fix: make number arg, commit arg, and flags mutually exclusive (#7268)
* make number, commit, and flags mutually exclusive

* break condition into arg own check
2023-04-04 12:24:40 +09:30
Kenichi Kocha
6261bc6971
Additional help doc and example for auth setup-git (#7243) 2023-04-04 01:36:09 +00:00
Kenichi Kocha
18f2484080
docs: add commit SHA arg to gh browse help (#7267)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-04-03 14:40:37 +00:00
Nate Smith
de07febc26
Merge pull request #7246 from vaindil/vaindil/check-ssh-key
Check SSH key existence before uploading
2023-03-31 13:58:43 -07:00
vaindil
7006d3f0a5 move SSH key errors out of upload function 2023-03-31 13:47:25 -04:00
vaindil
0e5e7de9af don't parse key bytes twice 2023-03-30 16:36:56 -04: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
991e6806f2
Merge pull request #7249 from alex-petrov-vt/iss-7235
feat: allow filtering workflow runs by status
2023-03-29 17:19:29 -07:00
Nate Smith
6e1693eaf0
Merge pull request #7241 from cli/repo-list-owner-test
repo list: add test for invalid owner error
2023-03-29 16:13:41 -07:00
Nate Smith
72f64cc634
Merge pull request #7080 from heaths/issue7055
Retry fetching repo from template
2023-03-29 16:09:51 -07:00
vaindil
f21f1ca4ef check SSH key existence before uploading 2023-03-29 17:32:25 -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
Heath Stewart
d104926ce2
Resolve lint error 2023-03-29 08:18:05 -07:00
Heath Stewart
3085c39a73
Specify branch to force exit code 2023-03-29 07:44:17 -07:00
Heath Stewart
36436cb8b8
Retry fetching repo from template
Fixes #7055
2023-03-29 07:44:16 -07: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
Mislav Marohnić
944df28f16
repo list: add test for invalid owner error 2023-03-29 11:32:19 +02:00
Marco Carvalho
3b23978114
repo sync: clearer error message with actionable hint (#7110)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-03-28 18:43:31 +00:00
աɨռɢӄաօռɢ
1f0e53319e
fix: throw error for non-existing org / repo with non-zero status in repo list (#7240) 2023-03-28 19:48:38 +02:00
Nate Smith
2f0bc86740
Merge pull request #7232 from wingkwong/feat/run-view-attempt
feat: gh run view --attempt
2023-03-28 09:50:02 -07: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
Federico Guerinoni
c6a693c459
Add --template flag for issue create and pr create (#7185)
Signed-off-by: Federico Guerinoni <guerinoni.federico@gmail.com>
Co-authored-by: Alessio Cosenza <cosenzaalessio17@gmail.com>
2023-03-27 08:24:12 +00:00
Benjamin Levesque
185ebbe69d
Add a --fail-fast option to pr checks --watch (#7203) 2023-03-27 01:36:30 +00:00
աɨռɢӄաօռɢ
5a2c24d363
docs: revise GH_CONFIG_DIR content in help_topic.go (#7230) 2023-03-27 01:18:09 +00: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
Nate Smith
9cf6f77a1f
Merge pull request #7212 from wingkwong/feat/gist-rename
feat: gist rename
2023-03-23 10:50:23 -07:00
Wing-Kam Wong
c6454064a4 refactor: revise errMsg in rename_test.go 2023-03-23 11:58:13 +08:00