Babak K. Shandiz
4aa7e75cd1
Rename const to avoid CodeQL error
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-04-04 20:06:45 +01:00
Babak K. Shandiz
d8ff343d5c
Add tests to verify numSelectedRepos is populated when necessary
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-04-04 19:49:34 +01:00
Babak K. Shandiz
e42b8b7e6b
Populate numSelectedRepos only if needed
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-04-04 19:48:44 +01:00
Babak K. Shandiz
d687bc7908
Add test cases to verify exported JSON has non-zero numSelectedRepos
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-04-01 22:08:18 +01:00
Babak K. Shandiz
148f9527c1
Populate numSelectedRepos in non-interactive mode, if explicitly selected
...
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-04-01 22:07:53 +01:00
William Martin
ec812a16f7
Merge pull request #8884 from cli/wm/bump-go-gh-2.7.0
...
Bump go-gh to 2.7.0
2024-03-28 22:24:25 +01:00
William Martin
fc2dabac6e
Bump go-gh to 2.7.0
...
Brings across a better CacheDir
2024-03-28 21:48:08 +01:00
William Martin
1a102edb52
Merge pull request #8870 from ihommani/auth-switch-doc-typo
...
Fix typo in auth switch help example
2024-03-24 07:54:47 +01:00
ihommani
1cac2280aa
Fix typo in auth switch help example
2024-03-23 20:56:09 +00:00
yasunori
b54f7a3bde
Include draft ID in project item list JSON ( #8754 )
2024-03-20 12:58:51 +01:00
William Martin
a14ecfda62
Merge pull request #8844 from cli/dependabot/go_modules/github.com/cpuguy83/go-md2man/v2-2.0.4
...
build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4
2024-03-19 21:12:18 +01:00
dependabot[bot]
911d966880
build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4
...
Bumps [github.com/cpuguy83/go-md2man/v2](https://github.com/cpuguy83/go-md2man ) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/cpuguy83/go-md2man/releases )
- [Commits](https://github.com/cpuguy83/go-md2man/compare/v2.0.3...v2.0.4 )
---
updated-dependencies:
- dependency-name: github.com/cpuguy83/go-md2man/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 14:13:27 +00:00
William Martin
83f0b5b810
Merge pull request #8843 from cli/wm/doc-run-view-and-watch
...
Document run watch and view not supporting fine grained PATs
2024-03-19 15:03:04 +01:00
William Martin
90fc403813
Document run watch and view not supporting fine grained PATs
2024-03-19 14:52:43 +01:00
William Martin
b85083c98a
Merge pull request #8839 from cli/wm/auth-switch-more-docs
...
Document auth switch behaviour for two or more accounts
2024-03-18 17:49:49 +01:00
William Martin
0f5d2aed0a
Document auth switch behaviour for two or more accounts
2024-03-18 17:24:38 +01:00
William Martin
96f1074c63
Merge pull request #8838 from jsoref/gh-docs-multiple-accounts
...
Gh docs multiple accounts
2024-03-18 17:22:07 +01:00
Josh Soref
6ff355049c
Improve discovery of gh auth status
2024-03-18 12:09:27 -04:00
Josh Soref
304ce82fa7
grammar: avoid e.g.+etc. together
...
https://meryl.net/ie-etc-and-eg/
2024-03-18 11:21:25 -04:00
William Martin
ab24653770
Merge pull request #8833 from cli/wm/bump-go-keyring
...
Bump go-keyring to fix race condition
2024-03-18 15:50:33 +01:00
William Martin
2eeac4175f
Merge pull request #8834 from malor/fix-doc
...
Fix the description of `gh release upload`
2024-03-18 12:41:39 +01:00
Roman Podoliaka
0d84970bbb
Fix the description of gh release upload
...
The formatting verb is used incorrectly and produces a misleading
help text for this command:
```
To define a display label for an asset, append text starting with %#% after the file name.
```
instead of the expected:
```
To define a display label for an asset, append text starting with `#` after the file name.
```
2024-03-18 11:19:20 +00:00
William Martin
5bd32fc066
Bump go-keyring to fix race condition
2024-03-18 12:17:12 +01:00
Victor Martinez
c0658b7ab4
feat: support dry-run in gh pr create ( #8376 )
2024-03-14 16:28:53 +01:00
William Martin
96d9a0da24
Merge pull request #8811 from cli/dependabot/go_modules/google.golang.org/protobuf-1.33.0
...
build(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0
2024-03-14 10:58:12 +01:00
dependabot[bot]
358f3d95e9
build(deps): bump google.golang.org/protobuf from 1.30.0 to 1.33.0
...
Bumps google.golang.org/protobuf from 1.30.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 22:44:00 +00:00
Andy Feller
dc804d9287
Merge pull request #8778 from cli/repo_in_merge_prompt
...
feat: consistent issue and PR owner/repo#number in various prompt
2024-03-12 12:16:26 -04:00
William Martin
4601d7ff5e
Merge pull request #8797 from gregsmi/bug/gh-auth-token-docs
...
fixed doc string
2024-03-07 10:58:02 +01:00
Greg Smith
df446b47fc
fixed doc string
2024-03-06 14:08:59 -08:00
William Martin
f4dff56057
Merge pull request #8795 from cuinix/trunk
...
remove repetitive word
2024-03-06 16:57:09 +01:00
cuinix
6091e7ad5b
remove repetitive word
...
Signed-off-by: cuinix <915115094@qq.com>
2024-03-06 23:30:00 +08:00
Andy Feller
3ca179bcde
Bump cli/go-gh v2.6.0 for tenant using GH_TOKEN ( #8787 )
2024-03-04 18:04:13 +01:00
Andy Feller
2b2571eb23
Fix breaking test for PR/issue # change
2024-03-01 16:04:24 -05:00
Andy Feller
bcdc917f08
Enhance 2nd round of issue and PR number output
2024-03-01 15:42:43 -05:00
Andy Feller
3bb5f54073
Apply first round of owner/repo#number consistency
...
This commit expands on @nobe4 initial work by bringing the owner and repository name to the most obvious issue and PR number output use cases before making a second pass for any edge cases.
2024-03-01 14:03:18 -05:00
Harvey Sanders
9dd102ffd0
Support project view --web with TTY ( #8773 )
2024-03-01 17:45:29 +01:00
nobe4
a5b7c6122d
fix: format files
2024-03-01 13:35:09 +01:00
nobe4
db93444ba9
feat(merge): add owner/repo in prompt
...
Various places during the `gh pr merge` flow show the PR number and
title. Those places are updated to also show the owner/repo.
E.g.
Before:
Pull request #123 (title) is ready to be merged
After:
Pull request owner/repo#123 (title) is ready to be merged
There are other places, where only the number is displayed. Those were
intentionally left as is. It made sense to show the owner/repo only when
the extra context of the title was present.
It also fixes the related tests.
cc #8777
2024-03-01 13:26:20 +01:00
William Martin
590208f5d6
Merge pull request #8693 from hongquan/feat/debian-install
...
Simplify install command for Debian & Ubuntu
2024-03-01 12:04:42 +01:00
William Martin
337ae29769
Merge pull request #8738 from stuart-leitch/docs/clarify-archived-repo-beahaviour-when-searching-prs
...
Clarify helptext for search prs regarding archived repos
2024-03-01 10:30:21 +01:00
Nguyễn Hồng Quân
09f09879ca
Merge branch 'trunk' into feat/debian-install
2024-03-01 09:47:55 +07:00
Nguyễn Hồng Quân
e67467cea7
Handle case: some system set 600 mod for new file.
2024-03-01 09:43:35 +07:00
Stuart Leitch
cfd2d645b2
Clarify helptext for gh search issues and gh search repos regarding archived repos
2024-02-29 22:38:55 +00:00
William Martin
0d4bf83a41
Merge pull request #8595 from benebsiny/cli-7849
...
Link Project to Repository or Team Command
2024-02-29 17:02:39 +01:00
William Martin
ee6e5e1f23
Merge pull request #8756 from bartekpacia/config_improve_comments
...
Make comments in the default config file more informative
2024-02-29 14:10:10 +01:00
William Martin
9dc23559c1
Merge pull request #8711 from toshimaru/add-cache-ref-optoion-to-cache-list
...
feat: Add `ref` option to `gh cache list`
2024-02-29 13:30:50 +01:00
William Martin
b7ea025475
Make minor cache list ref flag adjustments
2024-02-29 13:02:49 +01:00
William Martin
d72752830c
Merge pull request #8768 from cli/wm-af/fix-pr-fill
...
Fix regression around commas in commit titles during `pr create`
2024-02-28 13:53:29 +01:00
William Martin
5fe6eebfea
Update incorrect regex comment for client Commits
2024-02-28 13:38:39 +01:00
William Martin
2ee6737053
Use regex to split apart the git client Commit logs
...
Theoretically this should be clearer and more robust than the previous
version which had some custom loop logic while trying to parse newlines
and determine whether it had reached a new commit entry by trying to parse
a git sha. This would not have worked correctly if a commit body contained
a sha on a new line.
2024-02-27 20:49:00 +01:00