Commit graph

2751 commits

Author SHA1 Message Date
JP Ungaretti
6a150d57e0 Adopt in delete.go 2023-02-09 23:21:41 +00:00
JP Ungaretti
a388358348 Merge branch 'trunk' into jungaretti/fix-jupyter-spinner 2023-02-09 23:18:22 +00:00
JP Ungaretti
1b88915a4d Rename f to run 2023-02-09 23:16:12 +00:00
JP Ungaretti
a848cd1bd0 Adopt in stop.go 2023-02-09 23:13:44 +00:00
JP Ungaretti
bc789b2787 Adopt in ssh.go 2023-02-09 22:53:48 +00:00
JP Ungaretti
970088a7af Adopt in ports.go 2023-02-09 22:52:04 +00:00
JP Ungaretti
f77eb5f932 Adopt in list.go 2023-02-09 22:48:29 +00:00
JP Ungaretti
123380ac83 Adopt in edit.go 2023-02-09 22:36:38 +00:00
JP Ungaretti
38397f11be Adopt in delete.go 2023-02-09 22:30:57 +00:00
JP Ungaretti
d815d54bd2 Adopt in create.go 2023-02-09 22:24:09 +00:00
JP Ungaretti
43783a33a2 Move helper to iostreams 2023-02-09 22:23:58 +00:00
Owen Voke
fd0af5e3aa
feat: add --releases option to gh browse (#6996) 2023-02-09 10:14:00 +11:00
Des Preston
94fe6c7764
Fix set-default interactive not showing all remotes (#6969) 2023-02-07 23:11:38 +00:00
Sam Coe
801c38a24f
Add visibility warning to repo edit (#6980)
Add visibility warning to repo edit

---------

Co-authored-by: Lai Tuan Anh <laituananh1711@gmail.com>
2023-02-08 08:53:22 +11:00
Mislav Marohnić
14eb873b9e
Avoid implicitly fetching when adding a new git remote (#6990) 2023-02-07 21:22:02 +00:00
Robin Neatherway
78fb90956c
Teach gh cs create to use current repo as default (#6596)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-02-07 20:05:38 +00:00
Luan Vieira
d4c9890c5a
Default to authenticated user on codespace delete (#6944)
When a username option is not provided for the `gh codespace delete`
command, we will use the authenticated user's login as the default to
avoid deleting anyone else's codespace by mistake.

Prior to this change, running `gh codespace delete --org MYORG --all`
would fetch all of the codespacese associated with the org regardless of
user and then only delete the ones associated with the authenticated
user, which would lead to 404 errors when MYORG had codespaces owned by
members other than the authenticated member.

Co-authored-by: Victoria Dye <vdye@github.com>
Co-authored-by: Lessley Dennington <ldennington@github.com>
2023-02-07 20:46:08 +01:00
Josh Soref
e6d6427704 Support Fork with Default Branch Only 2023-02-07 10:00:39 -05:00
Sam Coe
138da0f969
Fix adding/removing projects using flags for edit commands (#6955) 2023-02-06 08:28:38 +11:00
vilmibm
b8a6c1daa7 include readme viewing in small help 2023-02-02 13:15:10 -08:00
Nate Smith
5dea3a923f
Merge branch 'trunk' into gh-ext-browse-followup 2023-02-02 12:27:17 -08:00
vilmibm
c9590f36d9 longer small help 2023-02-02 12:18:13 -08:00
Sam Coe
1233bd4439
Special case setting dependabot org secrets (#6941) 2023-02-02 07:12:22 +11:00
vilmibm
300bc2cb69 fix tests 2023-01-31 14:42:34 -08:00
vilmibm
37eee30411 WIP fixing tests 2023-01-31 12:06:32 -08: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
Josh Gross
f6431ca001
Use int64 repository IDs for Codespaces user secrets 2023-01-27 14:36:35 -05:00
vilmibm
3ab72f44d3 WIP: fixing tests 2023-01-26 16:40:54 -08:00
vilmibm
ba725d7af2 update doc 2023-01-26 16:38:30 -08:00
vilmibm
3af8e56c07 TODOs 2023-01-26 16:33:14 -08:00
vilmibm
f60970ffa9 clean up command screen 2023-01-26 16:32:22 -08:00
vilmibm
c2c4d8c3f8 fix silencing git output 2023-01-26 16:08:08 -08:00
vilmibm
fec1f115b0 remove unused args from installGit 2023-01-26 16:05:41 -08:00
vilmibm
868af11b9d WIP on using pages 2023-01-26 16:05:32 -08:00
vilmibm
bcc0d2b838 clean up some key handling 2023-01-26 12:02:51 -08:00
Damien Sedgwick
bab1b00c39
Rename --confirm flag to --yes for various destructive commands (#6915) 2023-01-26 12:48:21 +01:00
vilmibm
b4a6480c21 Merge remote-tracking branch 'origin/trunk' into gh-ext-browse-followup 2023-01-25 15:55:30 -08:00
Benjamin Levesque
fef4195004
Add --reviewer flag completion (#6873)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-01-25 18:02:13 +01:00
Damien Sedgwick
55053df592
repo delete: change confirmation flag to --yes (#6911) 2023-01-25 17:33:53 +01:00
Ariel Deitcher
a5edd8f542
show token scopes on auth status (#6546)
- show path to config file
- display token prefix
- refine how missing scopes are shown

Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-01-25 16:25:00 +01:00
Sam Coe
63ad804a26
Add notes about project scope to various commands (#6907) 2023-01-24 17:22:20 +00:00
azu
700bda3ad8
Add gh repo edit --enable-discussions (#6903)
* Add gh repo edit --enable-discussions
* Add hasDiscussionsEnabled to JSON fields for repos

Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-01-24 18:13:05 +01:00
Ariel Deitcher
a231b4aded
extension create: make initial commit (#6833) 2023-01-24 17:48:56 +01:00
Kevin Lee
9dc2653b0f
Warn against Windows absolute path when using gh api (#6895)
This warning is primarily for Windows users on MinGW applications like Git Bash

Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-01-24 17:40:15 +01:00
Caleb Brose
90ae71b2ba
Merge pull request #6888 from cli/cmbrose/pf-half-close
Half close port forwarding connections to fix hangs
2023-01-23 14:26:19 -06:00
Ryan Caldwell
71ec2c4e23
Codespaces create: Fix missing billable owner notice for individuals (#6891) 2023-01-23 13:15:44 +01:00
Caleb Brose
21c9e7c6db Linter and comment 2023-01-19 20:44:38 -06:00
Caleb Brose
e489050715 Merge remote-tracking branch 'origin/trunk' into cmbrose/pf-half-close 2023-01-19 20:39:58 -06:00
Caleb Brose
2b95cbc5a6 Close port forward writer on reader 2023-01-19 20:22:24 -06:00
Ilya Yatsishin
179e9c256d
Add projectsV2 support to issue create, issue edit, pr create, and pr edit (#6735)
Co-authored-by: pshevche <pavel.shevchenko.95@gmail.com>
Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-01-19 22:13:09 +00:00