William Martin
15ba536317
Ensure subtests use the right t during setup
2023-12-06 14:06:28 +01:00
William Martin
c165d5ccc0
Use isolated config in logout cmd tests
2023-12-06 14:06:28 +01:00
William Martin
c9a6b7cc00
Always mock the keyring in NewIsolatedTestConfig
2023-12-06 14:06:28 +01:00
William Martin
0a7871c6d3
Use real config in setupgit cmd tests
2023-12-06 14:06:28 +01:00
William Martin
20dd95b88d
Use real config in token cmd tests
2023-12-06 14:06:28 +01:00
William Martin
748d59ec64
Use real config in auth refresh tests
2023-12-06 14:06:28 +01:00
William Martin
dc0f6d55e2
Use real config in fork cmd tests
2023-12-06 14:06:28 +01:00
William Martin
5b3e7290be
Use real config and env in login cmd tests
2023-12-06 14:06:28 +01:00
Sam Coe
e806664ef7
New UX for auth status
2023-12-06 14:06:28 +01:00
Sam Coe
760dc91faa
Include environment variable users in auth status output
2023-12-06 14:06:28 +01:00
William Martin
b2997cc7bd
Handle multi account golden path in auth status
2023-12-06 14:06:28 +01:00
William Martin
e4ed4041cd
Use auth config and only print stdout in status
2023-12-06 14:06:28 +01:00
William Martin
5d10beb60a
Use config to look up user for status
2023-12-06 14:06:28 +01:00
William Martin
08c7bd1df2
Use real config and login in status tests
2023-12-06 14:06:28 +01:00
Sam Coe
eca5f72328
UX polish and standardization of language
2023-12-06 14:06:28 +01:00
William Martin
98381e63c9
Refactor switch test to be more structural
2023-12-06 14:06:28 +01:00
William Martin
7667fbdb5a
Handle logout having no candidates
2023-12-06 14:06:28 +01:00
William Martin
df274d4f3a
Implement auth switch
2023-12-06 14:06:28 +01:00
Sam Coe
2fc6dbd851
Add user flag to auth logout command
2023-12-06 14:06:28 +01:00
William Martin
72d5550407
Implemented auth logout for multiaccount
2023-12-06 14:06:28 +01:00
William Martin
1bf6023164
Display message when logging into existing account
2023-12-06 14:06:28 +01:00
William Martin
a9acece7dd
Split Login into adding a user and switching
...
It makes clear the steps that should be needed to "switch" which should be
shared between Login (add user and switch to it), Logout (remove user and switch
to another), and Switch (no modification and switch to a user)
2023-12-06 14:06:28 +01:00
William Martin
c4fcf9ba1a
Add test to ensure login command allows multiple users
2023-12-06 14:06:28 +01:00
Sam Coe
38b73e3f85
Set host level git_protocol on login
2023-12-06 14:06:28 +01:00
Sam Coe
68e30beac4
Logout removes token from keyring using username
2023-12-06 14:06:28 +01:00
Sam Coe
d8084f5f6d
Hide all keyring package implementation inside internal keyring package
2023-12-06 14:06:28 +01:00
William Martin
9efa7248a9
Initial multi-account migration work
2023-12-06 14:06:28 +01:00
Zach Steindler
6eb650185b
Add progress indicator when installing an extension ( #8411 )
2023-12-04 19:52:11 +00:00
Andy Feller
c7c74dd422
Merge pull request #8342 from muzimuzhi/docs/unify-markup
...
Unify doc mark-ups
2023-12-01 09:31:36 -05:00
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
Andy Feller
8ab2f50e3e
Merge branch 'trunk' into prmerge
2023-12-01 08:00:31 -05:00
ffalor
74e5e84d71
Update pkg/cmd/pr/merge/merge.go
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2023-11-30 18:51:09 -06:00
nelsonchen304
3bb62d4724
Actions: filter to workflow runs for a specific commit ( #8350 )
2023-11-29 09:29:26 +00:00
Mika
2f31607096
Add timeout error in gh auth status ( #8337 )
2023-11-29 08:54:55 +00:00
Mateus Marquezini
1d13d1fbed
Merge branch 'trunk' into fix/issue_8356
2023-11-28 16:29:24 -03:00
Mateus Marquezini
7a32b8b5f3
some code improvements after code review
2023-11-27 17:17:24 -03:00
William Martin
e775bc64b8
Fix PR and Issue list
...
Separate the GQL and JSON decoded types that we use for queries.
2023-11-27 17:00:10 +01:00
William Martin
7aeccdb7a0
Update pkg/cmd/pr/shared/finder_test.go
...
Co-authored-by: Andy Feller <andyfeller@github.com>
2023-11-27 15:18:13 +01:00
William Martin
b96a8e3c01
Add PR Finder test to cover projectItems
2023-11-27 10:40:09 +01:00
ffalor
ed68930c64
print info about merge when interactive
2023-11-26 18:44:52 -06: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