Commit graph

3330 commits

Author SHA1 Message Date
benebsiny
7dfaa328aa Support for [HOST/]OWNER/REPO format 2024-02-15 23:16:00 +08:00
benebsiny
874da37a24 Replace assert with require in testing 2024-02-15 18:38:50 +08:00
benebsiny
9225102a67 Merge branch 'trunk' of github.com:cli/cli into trunk 2024-02-15 18:33:37 +08:00
William Martin
8948ee8c3b
Merge pull request #8667 from toshimaru/add-cache-key-optoion-to-cache-list
feat: Add cache key option to `gh cache list`
2024-02-12 11:34:15 +01:00
William Martin
960c6662ca Update cache list key example to be clearer 2024-02-09 17:21:43 +01:00
William Martin
b7ffe6ed27 Add cache list key example to help 2024-02-09 17:19:31 +01:00
William Martin
662db3ca9e Test cache list key is sent to API 2024-02-09 17:15:15 +01:00
William Martin
8768eece8f Change cache list key to lowercase short 2024-02-09 17:14:59 +01:00
Andy Feller
c47c1db376
Merge pull request #8367 from Rebeccasun31/show_aliases
Documentation for built-in aliases
2024-02-08 14:05:05 -05:00
toshimaru
8252e59f17
feat: Add cache key option to gh cache list
Add `key` option to `gh cache list` command.

```
-K, --key string        Filter by cache key prefix
```

> An explicit key or prefix for identifying the cache

ref. https://docs.github.com/en/rest/actions/cache?apiVersion=2022-11-28#list-github-actions-caches-for-a-repository

- Add key option related tests to `TestNewCmdList`
2024-02-05 12:42:00 +09:00
Zack Sloane
f70bcba779 switch to [] characters for default info in usage strings 2024-02-01 21:35:31 +00:00
Zack Sloane
15166f485a
Merge branch 'cli:trunk' into trunk 2024-02-01 16:27:12 -05:00
Federico Guerinoni
3409d068d4 Make commit title in bold 2024-02-01 09:12:06 +01:00
Federico Guerinoni
42613172bd pr: Add flag fillverbose
This is used to fill the body of PR with all commits msg + body
of every commits because there can be lot of useful information.

Signed-off-by: Federico Guerinoni <guerinoni.federico@gmail.com>
2024-02-01 09:12:04 +01:00
Andy Feller
28c3a40558
Merge pull request #8632 from leevic31/8579-ordering-by-created-at-date-for-releases
Feature: added Order flag for release list command
2024-01-31 17:09:23 -05:00
William Martin
600aeee2a4 Avoid parsing create or update label http response 2024-01-31 18:55:52 +01:00
David Gardiner
400db0f41b Fix linting error 2024-01-30 13:24:23 -08:00
David Gardiner
2cb044caf5 Parse SSH args before creating the shell 2024-01-30 13:16:46 -08:00
benebsiny
f9a54f678a Remove --format flag and add description for not specifying --repo and --team flag 2024-01-30 23:06:05 +08:00
David Gardiner
8c77e53c35 Send activity signals during non-interactive codespace SSH command 2024-01-29 19:20:51 -08:00
benebsiny
28c8376b56 Fix printed project number
Fix the error regarding the printed error number when selecting the project number in interactive mode
2024-01-27 11:53:10 +08:00
benebsiny
adc0abe5da Support for directory based repo and GH_REPO env variable 2024-01-27 11:44:07 +08:00
victor
3db1bee20d fixed linting 2024-01-26 16:12:55 -05:00
victor
5cea8aa74d fixed linting 2024-01-26 16:10:48 -05:00
victor
795213319e added Order flag for release list command 2024-01-26 15:47:08 -05: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
Arun
e623f70a47
Specify refspec to push to the correct branch in the event of a conflicting tag 2024-01-24 11:14:35 -08:00
Zack Sloane
3339e62666
Merge branch 'cli:trunk' into trunk 2024-01-24 12:42:25 -05: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
Zack Sloane
d5f5732546
Update pkg/cmd/config/config.go
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-01-23 13:26:48 -05: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