Jake Shorty
2df3dd4f7d
Merge pull request #5384 from jshorty/codespaces-safeexec
...
Check paths safely for codespaces SSH and SCP commands
2022-03-31 11:29:27 -06:00
Jake Shorty
08bbf3bd30
Check paths safely for codespaces SSH and SCP commands
2022-03-31 15:59:20 +00:00
Gil Raphaelli
a6f6ad74ae
release list: correctly label the Latest release ( #4921 )
...
since https://docs.github.com/en/graphql/overview/changelog#schema-changes-for-2021-01-19
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-03-30 17:08:21 +00:00
Mislav Marohnić
5d8f4a66a5
Merge pull request #5326 from mgabeler-lee-6rs/issue-5239-less-bom
...
Only write UTF-8 BOM on Windows where it is needed
2022-03-30 18:48:46 +02:00
Mislav Marohnić
de94edd25a
Merge pull request #5374 from GreenRecycleBin/!$&'()+,;=@
...
generateCompareURL uses url.PathEscape instead of url.QueryEscape
2022-03-30 18:34:08 +02:00
Daniel Le
24ba3540b7
generateCompareURL uses url.PathEscape instead of url.QueryEscape
...
For ctx.{BaseBranch,HeadBranchLabel}.
2022-03-30 13:01:24 +08:00
Sam Coe
6fbe6d9c20
Add ability to filter issue and pr searches by app ( #5370 )
2022-03-29 21:58:29 +02:00
xiaotong
4a5864708c
Add label list and label create commands ( #5316 )
2022-03-29 17:38:59 +00:00
Nate Smith
e2fd7ceff0
Merge pull request #5369 from cli/gh-status
2022-03-29 11:32:28 -05:00
lylecantcode
56fda0f8c6
Support GH_DEBUG to control verbosity, deprecate DEBUG ( #5306 )
...
The GH_DEBUG environment variable is a new gh-specific verbosity control.
For backwards-compatibility, DEBUG will still be respected if it has values
"1", "true", "yes", and "api", but any other values will be ignored.
Finally, support for "oauth" debug value has been dropped in favor of "api".
The "oauth" value only had limited, internal use.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-03-29 18:05:35 +02:00
nate smith
5b060a272d
nvm
2022-03-29 11:01:54 -05:00
nate smith
2712ef05df
fix tests to account for padding
2022-03-29 10:44:48 -05:00
nate smith
dc03417042
PR->Pull Request
2022-03-29 10:35:28 -05:00
nate smith
fead25b56c
some lipgloss tweaks
2022-03-29 10:34:20 -05:00
nate smith
5569c0e94d
oops
2022-03-29 10:29:05 -05:00
nate smith
0e941dca0a
words
2022-03-29 10:26:34 -05:00
nate smith
893f833673
use errgroup
2022-03-29 10:25:14 -05:00
nate smith
a3fba669bd
add and use RESTWithNext
2022-03-29 10:15:33 -05:00
nate smith
659a8ed1b9
use a StringSliceVar
2022-03-29 09:47:59 -05:00
Nate Smith
c1e5934b21
Merge pull request #5272 from meiji163/pin-ext
2022-03-29 09:21:20 -05:00
Mislav Marohnić
52576c2039
Merge pull request #5367 from cli/dependabot/go_modules/github.com/creack/pty-1.1.18
...
Bump github.com/creack/pty from 1.1.17 to 1.1.18
2022-03-29 16:17:31 +02:00
Mislav Marohnić
07cd7496c5
Merge pull request #5225 from cli/extract-to-root
...
run download: fix extracting to root path
2022-03-29 16:16:34 +02:00
Mislav Marohnić
3f5311ea1c
Merge pull request #5345 from znull/znull/ssh-config-example
...
ssh.go: use setup example that should work with any ssh config
2022-03-29 16:15:56 +02:00
Jimmy Keith
ce8f66b421
Have extension upgrade --all be non-fatal when no extensions installed ( #5356 )
2022-03-29 16:15:25 +02:00
Mislav Marohnić
91c450ec60
Merge pull request #5357 from callumacrae/force-tty-pr-view
...
fix: respect `GH_FORCE_TTY` when running `gh pr view`
2022-03-29 16:12:45 +02:00
nate smith
058c2b4fe3
redundant
2022-03-28 11:55:07 -05:00
nate smith
f22c325ea4
gh status
2022-03-28 11:53:13 -05:00
dependabot[bot]
66abe7c115
Bump github.com/creack/pty from 1.1.17 to 1.1.18
...
Bumps [github.com/creack/pty](https://github.com/creack/pty ) from 1.1.17 to 1.1.18.
- [Release notes](https://github.com/creack/pty/releases )
- [Commits](https://github.com/creack/pty/compare/v1.1.17...v1.1.18 )
---
updated-dependencies:
- dependency-name: github.com/creack/pty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 14:29:18 +00:00
Sam Coe
ee6fc0f9b7
Add search issues and search pull requests commands ( #5334 )
2022-03-27 19:53:03 +00:00
Callum Macrae
f7ef503051
fix: respect GH_FORCE_TTY when running gh pr view
...
`GH_FORCE_TTY` only affects stdout, not stderr, so this check was
failing and the flag was being ignored.
I also checked for similar problem in other files but everything else
seemed stderr or stdin related.
closes #5354
2022-03-25 15:07:47 +00:00
Gabe D
3a949203c4
Update Codespace permissions opt out param ( #5344 )
2022-03-25 12:12:14 +01:00
dependabot[bot]
ad313f77f7
Bump github.com/AlecAivazis/survey/v2 from 2.3.2 to 2.3.4 ( #5337 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-03-24 15:54:40 +01:00
Caleb Brose
1b01733ce5
Merge pull request #5340 from cli/cmbrose/scp-args
...
`gh cs cp` parses additional scp args
2022-03-24 09:53:54 -05:00
Jason Lunz
17cb6346a5
ssh.go: use setup example that should work with any ssh config
...
The `gh cs ssh` command suggests an example recipe for setting up
openssh integration. The last step appends an `Include` statement to the
user's `~/.ssh/config`.
Unfortunately, this won't always work as intended. If the existing
configuration ends with a `Host` block, the added `Include` statement
will be conditional on whether that block matches.
By preceding the `Include` statement with `Match all`, we can ensure
that it is always evaluated.
2022-03-23 17:00:36 -06:00
Caleb Brose
623e67f6b1
Update comments/usage and remove --
2022-03-23 16:09:07 +00:00
meiji163
45845bc999
cant pin local
2022-03-22 11:02:16 -07:00
Meijke Balay
348bb70fa5
Merge remote-tracking branch 'upstream/trunk' into pin-ext
2022-03-22 08:13:53 -07:00
Caleb Brose
a03051f295
Refactoring and comments
2022-03-22 14:49:58 +00:00
Caleb Brose
f22320a478
Parse scp args
2022-03-22 01:57:37 +00:00
Mislav Marohnić
65d90aa24d
Merge pull request #5336 from cli/dependabot/github_actions/actions/cache-3
...
Bump actions/cache from 2 to 3
2022-03-21 17:57:59 +01:00
Jose Garcia
c7bd3f8626
Merge pull request #5339 from cli/jg/fix-flakey-test
...
liveshare test: only sleep if conn is nil
2022-03-21 12:22:05 -04:00
Jose Garcia
b5a7a36ece
Document why we have a loop retrying
2022-03-21 12:11:00 -04:00
Jose Garcia
cd6176d911
Rename to tries and clean up loop condition
2022-03-21 11:42:32 -04:00
Jose Garcia
74c8b2217e
Increment retries
2022-03-21 11:36:12 -04:00
Jose Garcia
107ea6c440
Only sleep if conn is nil
2022-03-21 11:09:52 -04:00
dependabot[bot]
b090ef0578
Bump actions/cache from 2 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 14:27:30 +00:00
Mislav Marohnić
b7bdb369f1
Merge pull request #5327 from sgray/patch-1
...
Remove unwanted trailing quote
2022-03-21 14:50:08 +01:00
Steve Gray
b48a93cddf
Remove unwanted trailing quote
...
Removes a stray quote from the codespace ssh example.
2022-03-18 14:06:27 -06:00
Matthew Gabeler-Lee
be07983a62
Only write UTF-8 BOM on Windows where it is needed
...
Fixes #5239
2022-03-17 11:40:49 -04:00
Josh Gross
31c6ba3807
Support listing and removing Dependabot secrets ( #5160 )
...
* Support listing and removing Dependabot secrets
* Remove duplicated tests
2022-03-17 11:42:12 +02:00