Commit graph

3205 commits

Author SHA1 Message Date
Andy Feller
152ab207b5 For lint sake 2023-12-01 09:20:44 -05:00
Andy Feller
a9e430e9bc Fix lint warning 2023-12-01 09:16:51 -05:00
Andy Feller
b77de0d458 Additional formatting changes
- gh help actions
  - highlight 3 commands to run for more information
- gh extension
  - wrapping url for online linking
  - fix install subcommand missing backtick formatting
- gh release create
  - fixing mixed indenting causing usage misalignment
- root help
  - backtick wrap help command for more info for consistency
- gh help environment
  - backtick wrap missed OWNER/REPO
- gh variable
  - brought consistency to output when deleting or setting variable
2023-12-01 09:08:51 -05:00
Yukai Chou
21e9ba3345 fixup! Use "GitHub Actions" as a whole 2023-11-23 07:29:04 +08:00
Yukai Chou
f4955bd47b Add missing minimum required scope gist 2023-11-23 07:23:54 +08:00
Yukai Chou
b14da6c63f Wrap scopes 2023-11-23 07:22:57 +08:00
Yukai Chou
061ec2f51b s/default branch/main branch/g 2023-11-23 07:21:16 +08:00
Yukai Chou
e31919c8fc Update link to jq docs 2023-11-23 07:20:41 +08:00
Yukai Chou
1ac1609bb7 Use "GitHub Actions" as a whole 2023-11-23 07:20:11 +08:00
Yukai Chou
afbdb945bc Small docs tweaks 2023-11-23 07:14:38 +08:00
Yukai Chou
ba585149c3 Leftovers 2023-11-23 07:12:47 +08:00
Yukai Chou
e81b9b2517 Wrap HTTP methods 2023-11-23 07:10:08 +08:00
Yukai Chou
07a87ca8a4 Wrap special values and placeholders like - and $1 2023-11-23 07:09:29 +08:00
Yukai Chou
3285359271 Merge branch 'trunk' into docs/unify-markup 2023-11-23 04:01:45 +08:00
EBIBO
14a8e03bc3
gh repo sync should be able to sync a local branch with an upstream remote (#8229) 2023-11-20 10:37:59 +00:00
Yukai Chou
21bf1babdf Proof-reading 2023-11-17 02:04:35 +08:00
Yukai Chou
5612d2864e Add leftovers 2023-11-17 01:32:29 +08:00
Yukai Chou
8eec3e8040 Wrap path to file in backticks 2023-11-17 01:32:29 +08:00
Yukai Chou
b70c28ba20 Misc docs improvements 2023-11-17 01:32:28 +08:00
Yukai Chou
5c4cb50231 Wrap env variables in backticks uniformly 2023-11-17 01:32:00 +08:00
Yukai Chou
896101678f Wrap cli commands in backticks uniformly 2023-11-17 01:32:00 +08:00
Yukai Chou
17d336e005 Wrap cli flags in backticks uniformly 2023-11-16 22:54:27 +08:00
Qiming Xu
5e14987d65
Fix determining executable location in PATH (#8238) 2023-11-14 08:26:19 +00:00
Sam Coe
ebcf3a1022
Set default Accept header for api command when one is not specified (#8303) 2023-11-06 15:22:32 +01:00
William Martin
8364301017 Simplify run view annotation fetch error handling 2023-11-06 12:40:13 +01:00
Yukai Chou
ccf45cc7c6
Improve gh release download doc (#8294)
* Improve `gh release download` doc

When downloading latest release assets,
`gh release download --archive=(zip|tar.gz)` works too.

Sync doc with no-arguments warning.

* Apply suggestion from code review

Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>

---------

Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-11-06 07:59:03 +00:00
David Gardiner
ecdb557156
Merge pull request #8275 from dmgardiner25/fix-cs-conn-race
Resolve race condition in codespaces connection
2023-11-02 09:52:03 -07:00
Arun Sathiya
5eff7a529a
fix(release create): Handle latest flag value when updating the release after assets are uploaded (#8207)
Signed-off-by: Arun <arun@arun.blog>
Co-authored-by: William Martin <williammartin@github.com>
2023-11-01 15:17:05 +01:00
David Gardiner
581b6652e2 Resolve race condition in codespaces connection 2023-10-31 12:19:14 -07:00
Adarsh Jha
351c5f1cd5
feat: modified choice input to take option list opposed to blank text (#8180) 2023-10-31 17:48:49 +01:00
David Gardiner
500f359592
Don't poll for addition codespace permissions if user chooses to create without them (#8267) 2023-10-30 13:22:38 -05:00
Sam Coe
7924878315
Fix git protocol and refactor Config interface (#8246) 2023-10-27 15:42:05 +02:00
ffalor
f4535004c2 clearer error message 2023-10-23 00:39:25 -05:00
Sam Coe
5023b61909
Remove uses of FuzzyAgoAbbr in tables (#8222) 2023-10-22 17:33:49 +02:00
Sam Coe
d70d798ebf
Fix up NoHeaders linter errors in project commands (#8223) 2023-10-20 15:30:13 +02:00
Heath Stewart
7738b6187c
Add headers to all tables (#8157) 2023-10-20 11:20:02 +02:00
William Martin
26f3601a81
Merge pull request #8213 from cli/wm/add-tests-for-existing-config
Add tests for the existing config
2023-10-19 15:59:08 +02:00
Swastik Baranwal
6696229fb1
gh extension install not give an error if extension already installed and a clear message (#8211)
* `gh extension install` not give an error if extension already installed and a clear message

* remove test

* Add implementation

* lint go.sum

---------

Co-authored-by: Sam Coe <samcoe@users.noreply.github.com>
2023-10-19 15:22:21 +02:00
William Martin
6dc04bb1e2 Remove GetOrDefault uses in favour of GitProtocol 2023-10-19 12:57:19 +02:00
William Martin
7d8c1af009 Fix GitProtocol signature and rework test descriptions 2023-10-19 12:49:38 +02:00
EBIBO
8e8e6d9ac6
gh browse subdirectory path problem with repo flag (#8141) 2023-10-17 09:01:51 +00:00
Sam Coe
5916439d22
Remove template field from projects exporting (#8160) 2023-10-17 09:54:12 +02:00
Arun Sathiya
9b037ffac1
update(repo create): Support for --homepage flag for template-based repository creation flow (#8188) 2023-10-17 09:01:32 +02:00
David Gardiner
135c56aead Fix linting error 2023-10-16 10:09:04 -07:00
David Gardiner
a8f8728056 Poll permission acceptance endpoint on codespace creation 2023-10-12 16:55:13 -07:00
David Gardiner
64f4660ec7
Migrate all Codespaces operations from Live Share to Dev Tunnels (#8149)
* Migrate all Codespaces operations from Live Share to Dev Tunnels

* Remove Live Share references

* Fix linting errors

* Update comments, remove deps, add uint16 bound checks

* Fix tests and move keep-alive logic to forwarder

* Address comments

* Updated mock port forwarder

* Fix CodeQL error

* Update comment

* Update func name

* Add missing connection close

* Fix linting error

* https -> http

* Update defer

* Fix tests
2023-10-12 22:16:36 +00:00
Jun Nishimura
7d6fba0d7d
Create repositories from templates in interactive mode (#7769) 2023-10-12 17:53:05 +02:00
Keith Bailey
363dacbbed
Set default repository for repo clone and repo fork (#7768) 2023-10-11 13:41:00 +00:00
Yuto
885ccd7424
Disable issue with template (#7918)
* allow --disable-issues option with --template

* add a test case for creating repo with --disable-issues --template
2023-10-11 10:35:40 +02:00
Carl Walsh
3443a752a9
docs: fix typo in pr create (#8115)
https://cli.github.com/manual/gh_pr_create shows `BADINDEX` and broken markdown formatting right now.
Was very recently introduced in #8080
2023-10-03 17:20:02 +00:00