benebsiny
adc0abe5da
Support for directory based repo and GH_REPO env variable
2024-01-27 11:44:07 +08:00
benebsiny
0ce66347b9
Change the output of link and unlink`
2024-01-26 00:54:42 +08:00
benebsiny
b44ed7433d
Refactor OrganizationTeam
2024-01-26 00:21:52 +08:00
benebsiny
7abf1c05bc
Replace httpmock with gock in testing
2024-01-25 23:22:48 +08:00
benebsiny
b57f4028c3
handle flags with cmdutil.MutuallyExclusive, and move mutation methods to queries.go
2024-01-24 17:00:37 +08:00
benebsiny
7fd91f593c
fix wording, move conditional blocks to functions, and add api to retrieve the ID of a team
2024-01-24 14:37:28 +08:00
EBIBO
c9184d2ba2
Merge branch 'trunk' into cli-7849
2024-01-21 21:56:33 +08:00
benebsiny
aaa41ca6a9
Fix wording
2024-01-21 21:41:58 +08:00
benebsiny
918443f32b
Add testing for link and unlink
2024-01-21 21:30:09 +08:00
benebsiny
f98acb2d99
Support for team
2024-01-20 22:46:22 +08:00
benebsiny
e209d14516
Support for unlink
2024-01-19 23:35:18 +08:00
benebsiny
bb1ab90a9a
Remove support for team
2024-01-19 23:23:26 +08:00
Victor Lee
b8c4ea1e7c
added URL for newly created repo ( #8574 )
2024-01-19 12:16:15 +01:00
benebsiny
617ec61627
Link Project to Repository or Team Command
2024-01-19 02:37:23 +08:00
Raj Hawaldar
76ec5d5454
Add force flag to setup-git command ( #8552 )
...
Co-authored-by: William Martin <williammartin@github.com>
2024-01-18 13:28:37 +01:00
William Martin
89b5dbc2b7
Merge pull request #8589 from fpistm/typo_fix
...
Fix some typos raised by codespell
2024-01-18 12:42:05 +01:00
Florian Forster
7164f6e225
fix: Prevent nil dereference in pr view. ( #8566 )
...
The API may return a `null` project, maybe related to "legacy projects". This
is translated to a nil pointer in Go. When accessing `project.Column`, the nil
pointer was dereferenced, causing a segmentation fault.
2024-01-17 22:12:22 +00:00
Shion Ichikawa
29bd9dc6eb
search repos command add usage example for --archived=false ( #8391 )
2024-01-17 19:53:26 +00:00
Victor Martinez
b62e977c91
Add --json export flags to release list command ( #8474 )
2024-01-17 10:51:01 -08:00
w1mvy
9dd5805f9c
Add json export flags to variable list command ( #8516 )
2024-01-17 10:09:09 -08:00
Heath Stewart
cf483770c9
Remove project JSON formatting objects ( #8541 )
2024-01-17 17:56:58 +00:00
Frederic Pillon
55d251ac51
Fix some typos raised by codespell
...
With .codespellignore containing:
aline
commitish
messag
noes
nwo
parth
prfiles
runn
timere
ue
welp
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2024-01-17 15:34:49 +01:00
David Gardiner
20273d1f17
Move create codespace permission opt out behind else to fix token permissions
2024-01-12 12:16:38 -08:00
ihmpavel
72b6dc5d8c
chore: Unify calling gh in examples ( #8560 )
2024-01-11 09:07:23 -08:00
Andy Feller
e9fabfe9a9
Merge pull request #8479 from muzimuzhi/docs/backquote-gh-config
...
Backquote settings in `gh-config` docs
2024-01-10 08:18:25 -05:00
Sam Coe
785a340f78
Prevent downloading releases with assets that match windows reserved filenames ( #8517 )
...
* Prevent downloading releases with assets that match windows reserved filenames
* Add comment noting potential use of build constraints in the future
2024-01-09 09:53:57 -08:00
Heath Stewart
0cf5d22ead
Support template, jq flags with standard format flag ( #7832 )
...
* Use standard JSON flags for project command
Deprecates the --format flag and adds the standard JSON flags to properly filter, template, and write JSON.
* Add format flags cmdutil
Resolves PR feedback
* Remove unnecessary fields from JSON format flags
* Add standard format help to remaining commands
* Add JSON format regression tests
Also fixed a number of `project` commands that didn't format the right object as JSON.
* Resolve PR feedback
2024-01-09 09:46:39 -08:00
Yukai Chou
c73f41b32e
Mark-up gh-config settings with backticks
2024-01-08 02:05:40 +08:00
Andy Feller
586eb8b865
Merge pull request #8453 from samueldurantes/samueldurantes/browse-help-message
...
Add more help message to browse command
2024-01-05 10:19:51 -05:00
Samuel Durante
109458cf66
Update pkg/cmd/browse/browse.go
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-01-05 10:53:15 -04:00
EBIBO
be81f9f0cb
Merge branch 'trunk' into cli-8009
2023-12-13 12:56:26 -05:00
benebsiny
0b73f2af86
Verify the downloaded zip for gh run view --log
2023-12-14 01:54:16 +08:00
William Martin
a9bdd8d186
Fix flaky tests coupled to relative dates
2023-12-13 14:44:16 +01:00
Samuel Durante
ab7e55e20a
Add more help message to browse command
2023-12-12 20:36:40 -03:00
Sam Coe
52fb3b62b3
Update multi-account migration error msg ( #8448 )
...
* Make sure default host is stubbed out for all auth login tests
* Improve multi-account migration error message
2023-12-11 15:20:23 +00:00
Andy Feller
b442a1b4d2
Fix run exported jobs error for completedAt
2023-12-11 08:42:43 -05:00
William Martin
b281269052
Fix affect effect typo in login cmd
2023-12-07 15:03:26 +01:00
Sam Coe
94de5290e0
Auth switch special case one host with two users to avoid unnecessary prompting
2023-12-07 09:44:07 -04:00
William Martin
0763c1d4a7
Locally prevent mixup of username and token in refresh
2023-12-07 11:43:05 +01:00
William Martin
16cfe5f21a
Fix token username return ordering in auth refresh
2023-12-07 11:35:02 +01:00
Sam Coe
fd7dc25e2a
Add error to auth refresh when active user does not match newly authenticated token user
2023-12-06 16:51:48 -04:00
Sam Coe
80fc413592
Polish auth status timeout error message
2023-12-06 14:06:28 +01:00
Sam Coe
024cb939af
Rename authCfg.Token to authCfg.ActiveToken and authCfg.SetToken to authCfg.SetActiveToken
2023-12-06 14:06:28 +01:00
Sam Coe
1a3392a379
Rename authCfg.User to authCfg.ActiveUser
2023-12-06 14:06:28 +01:00
Sam Coe
8cdbc1a8ca
Refactor authCfg.UsersForHost to not return an error
2023-12-06 14:06:28 +01:00
Sam Coe
92a902e453
Add context to auth token command error message
2023-12-06 14:06:28 +01:00
William Martin
af8bcd3ed2
Print useful error when switch fails outside user control
2023-12-06 14:06:28 +01:00
William Martin
dbff555835
Update auth token short and long
2023-12-06 14:06:28 +01:00
William Martin
2c72647cf7
Update git protocol login prompt to indicate it is host level
2023-12-06 14:06:28 +01:00
William Martin
4e04b98f6f
Add user flag to auth token command
2023-12-06 14:06:28 +01:00