Mark Phelps
71f32376d0
Fix tests
2022-02-22 20:20:52 -05:00
Mark Phelps
707220a9b1
PR updates
2022-02-22 14:16:03 -05:00
Mark Phelps
1ea26f33d8
Add create test
2022-02-22 09:50:43 -05:00
Mislav Marohnić
cf4b73ff95
Merge pull request #5223 from cli/docs-improvements
...
Misc. docs improvements
2022-02-21 15:35:10 +01:00
Mislav Marohnić
57d0581504
Add note about git auth
2022-02-21 15:24:54 +01:00
Mislav Marohnić
112ca8bf91
Merge remote-tracking branch 'origin' into docs-improvements
2022-02-21 15:24:18 +01:00
Mislav Marohnić
2c981b70bf
Merge pull request #5221 from cli/string-enum-flag
...
Use StringEnumFlag helper in more places
2022-02-21 15:21:07 +01:00
Mislav Marohnić
a315e6865c
run download: fix extracting to root path
...
Our rudimentary check for whether a file path is entirely contained
under a directory had a false negative when the parent directory is "/".
2022-02-18 20:27:40 +01:00
Mislav Marohnić
9cbfe73140
Have core commands have consistent Short description
2022-02-18 18:39:30 +01:00
Mislav Marohnić
0f956c8502
auth login: clarify authentication alternatives
2022-02-18 18:39:30 +01:00
Mislav Marohnić
7235384f12
gh: list help topics in help output
2022-02-18 18:39:30 +01:00
Mislav Marohnić
286ba5e8dc
issue/pr list: clarify search syntax
2022-02-18 18:39:30 +01:00
Mislav Marohnić
5f8bdd64da
gh api: clarify how to pass API preview names
2022-02-18 18:39:30 +01:00
Mislav Marohnić
0f1aaae57c
issue/pr comment: allow using editor in non-interactive mode
...
The user should be able to `gh config set prompt disabled` and still be
allowed to use `gh issue comment --editor`.
2022-02-18 18:38:55 +01:00
Mislav Marohnić
57f49d9f8a
issue/pr comment: improve docs as it relates to editor
2022-02-18 18:38:44 +01:00
Mislav Marohnić
512208ca96
repo fork: tweak docs
2022-02-18 18:38:34 +01:00
Mislav Marohnić
19563c4a74
Use StringEnumFlag helper in more places
2022-02-18 12:52:47 +01:00
Jose Garcia
9556c72ecf
Update event types and drop idea of global request
2022-02-17 17:05:56 -05:00
Mark Phelps
e7c2f973ae
Support opting out of permissions
2022-02-17 15:11:12 -05:00
Jonathan Mayer
1eefda0b45
gh auth login: add git protocol flag ( #5158 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-02-17 19:35:59 +00:00
Hanjingxue Boling
f4b4a4e18f
Update installation instructions for Fedora ( #5204 )
...
gh-cli has entered fedora's official repository and can be installed directly without adding a third-party repository.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-02-17 18:41:26 +00:00
Christian Gregg
c5dbf20ed4
Alias list as ls for all commands ( #5214 )
...
I always get tripped up whenever trying to list my codespaces, adding
`ls` as an alias to `list` feels natural enough.
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-02-17 13:53:42 +01:00
Patrick Veverka
3d093d1a95
some tests
2022-02-17 02:23:17 +00:00
Jose Garcia
ee349700de
Checkin almost final impl but wrong direction
2022-02-16 17:56:09 -05:00
Mark Phelps
84aad52b22
Merge branch 'cli:trunk' into codespaces-accept-perms
2022-02-16 10:08:49 -05:00
Patrick Veverka
133be27d99
wip tests
2022-02-16 13:35:46 +00:00
Bernardo
ca14d10b7b
add failure tests
2022-02-16 03:10:47 +00:00
Mark Phelps
590acaa1d6
WIP
2022-02-15 19:35:53 -05:00
Patrick Veverka
e3ff873d64
since we can change the machine name, we should probably allow them to list it
2022-02-16 00:00:13 +00:00
Jose Garcia
c96807fae7
Clean up cruft
2022-02-15 15:34:04 -05:00
Jose Garcia
c90da9799d
Tests for update port visibility
2022-02-15 15:30:06 -05:00
Patrick Veverka
4d45bc7654
more changes
2022-02-15 20:13:33 +00:00
Patrick Veverka
0635514ddf
first stab
...
wip
move to method param
flushing out
2022-02-15 20:13:30 +00:00
Josh Gross
c2a9c5a74b
Support filtering pull requests authored by GitHub Apps ( #5180 )
2022-02-15 19:36:06 +01:00
Mislav Marohnić
95b1e7f74e
Merge pull request #5019 from k-jun/fix/release-discussion-category
...
fix(release): discussion category with assets
2022-02-15 18:37:41 +01:00
Mislav Marohnić
5d36bcc4de
Merge remote-tracking branch 'origin' into fix/release-discussion-category
2022-02-15 18:28:08 +01:00
Mislav Marohnić
72340076ae
tests
2022-02-15 18:27:58 +01:00
Breno Silva
6e14426dfb
docs: improve repo edit docs ( #5165 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-02-15 17:35:30 +01:00
Mislav Marohnić
3e0db567e8
Rotate our Windows signing certificates ( #5196 )
...
- The certificate pfx file is now read from WINDOWS_CERT_PFX
- The password to decode the pfx is in WINDOWS_CERT_PASSWORD
- Quit reading from desktop-secrets repo
- Switch osslsigncode to take in pfx instead of individual certs
- 🔥 obsolete setup scripts
2022-02-15 17:23:39 +01:00
Sam Coe
28d2b52769
release create: warn about unpushed local git tag ( #5104 )
...
If `gh release create <TAG>` was called and TAG exists locally but not on the remote, this warns about the unpushed tag to avoid recreating it on the remote. The user can pass a value for `--target` to silence the warning.
2022-02-15 16:36:37 +01:00
Jose Garcia
04a4e43dec
Initial spike with request/event handling
2022-02-14 17:22:58 -05:00
Nate Smith
fc5cbe8f1f
Merge pull request #5205 from cli/revert-4998
...
Revert changing the location of GPG key file
2022-02-14 14:48:05 -06:00
nate smith
32dada90ba
revert PR 4998
2022-02-14 10:35:09 -06:00
Mislav Marohnić
bf83c660a1
Merge pull request #5143 from cli/pager-epipe-ignore
...
Ignore EPIPE errors when writing to a closed pager
2022-02-14 17:09:17 +01:00
Cameron Booth
ff6c7b925f
Add flag to rerun only failed jobs in a workflow run
2022-02-10 13:53:55 -08:00
Mislav Marohnić
0a5e220231
Ignore EPIPE errors when writing to a closed pager
...
While a gh command is writing stdout to a pager, the user may choose to
close the pager program before the pager has read all the data on its
standard input. In that case, the parent gh process will receive an
EPIPE error, which would bubble up its error handling and cause it to
print something like:
write |1: broken pipe
Since this was caused by an explicit user action of closing the pager,
and since the user probably doesn't want to see this uninformative
error, this informs our global error handling of this error and causes
it to be ignored.
2022-02-10 16:42:00 +01:00
Mislav Marohnić
c9f44ffda9
Merge pull request #5186 from cli/credential-helper-fix
...
Fix authenticating git operations after `auth login --with-token`
2022-02-10 15:59:41 +01:00
Patrick Veverka
f6f8ba8b7b
Add display name for codespaces ( #5044 )
2022-02-09 16:15:03 +01:00
Mislav Marohnić
6701b526d1
Fix authenticating git operations after auth login --with-token
...
After completing the interactive `gh auth login` flow, the `hosts.yml`
config file will have been populated with both `oauth_token` and `user`
properties for the GitHub host. However, after `auth login --with-token`
only the `oauth_token` is persisted but no username.
This fixes `auth git-credential` behavior so it allows authentication
even if the `user` property is missing. It's entirely optional to send a
proper username for git authentication, since GitHub seems to ignore the
actual value sent and just focuses on the token itself.
2022-02-09 00:10:10 +01:00
dependabot[bot]
c3d451b9b6
Bump github.com/briandowns/spinner from 1.18.0 to 1.18.1 ( #5182 )
...
Bumps [github.com/briandowns/spinner](https://github.com/briandowns/spinner ) from 1.18.0 to 1.18.1.
- [Release notes](https://github.com/briandowns/spinner/releases )
- [Commits](https://github.com/briandowns/spinner/compare/v1.18.0...v1.18.1 )
---
updated-dependencies:
- dependency-name: github.com/briandowns/spinner
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-08 19:19:43 +01:00