minxinyi
21b08bdd20
refactor: use slices.Equal to simplify code ( #11364 )
...
Signed-off-by: minxinyi <minxinyi6@outlook.com>
2025-08-26 15:29:19 -06:00
Andrey
4e1318eb2a
feat: gh auth Automatically copy one-time OAuth code to clipboard ( #11518 )
...
* feat: add ability to copy one-time OAuth code while authenticating
Signed-off-by: Andrey <andrekabatareika@gmail.com>
* fix(docs): wrong example for gh auth refresh
* chore(authflow): update message to include one-time code to it
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
* chore(authflow): improve message when copied one-time code
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
* chore(authflow): don't early return error when could not copy OAuth code
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
* refactor(authflow): make code for working with OAuth code more readable
* Adjust language in `gh auth` help for clipboard
---------
Signed-off-by: Andrey <andrekabatareika@gmail.com>
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
2025-08-25 09:52:51 -06:00
Andrey
204536cdd0
docs(release create): difference --generate-notes and --notes-from-tag ( #11534 )
...
* docs(release create): distinguish difference between '--generate-notes' and '--notes-from-tag'
Signed-off-by: Andrey <andrekabatareika@gmail.com>
* Clarify release notes behavior for unannotated tags
Updated help text to specify that if a git tag is not annotated, the release notes will use the commit message instead of the tag annotation.
---------
Signed-off-by: Andrey <andrekabatareika@gmail.com>
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
2025-08-25 15:20:21 +00:00
Andrey
89512590ad
Add --force flag to gh run cancel ( #11513 )
...
* feat: add --force flag to run cancel command
Signed-off-by: Andrey <andrekabatareika@gmail.com>
* docs: use less prescriptive docs for --force flag
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
* chore: remove short flag
Signed-off-by: Andrey <andrekabatareika@gmail.com>
---------
Signed-off-by: Andrey <andrekabatareika@gmail.com>
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
2025-08-21 12:45:12 -06:00
Kynan Ware
d43d7a1bdd
Update third-party license versions ( #11557 )
...
Bump several dependency versions in third-party-licenses files for Darwin, Linux, and Windows platforms to reflect updated packages and license links.
2025-08-21 17:45:56 +00:00
dependabot[bot]
6d183488cc
chore(deps): bump github.com/go-viper/mapstructure/v2 ( #11556 )
...
Bumps [github.com/go-viper/mapstructure/v2](https://github.com/go-viper/mapstructure ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/go-viper/mapstructure/releases )
- [Changelog](https://github.com/go-viper/mapstructure/blob/main/CHANGELOG.md )
- [Commits](https://github.com/go-viper/mapstructure/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: github.com/go-viper/mapstructure/v2
dependency-version: 2.4.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-21 11:09:59 -06:00
Copilot
5eddf8d523
Merge pull request #11536 from cli/copilot/fix-11535
...
Fix `gh repo delete --yes` safety issue when no repository argument provided
2025-08-20 11:03:44 -06:00
Kynan Ware
f0f9987584
Merge pull request #11537 from cli/dependabot/go_modules/github.com/cli/go-gh/v2-2.12.2
...
chore(deps): bump github.com/cli/go-gh/v2 from 2.12.1 to 2.12.2
2025-08-19 15:35:51 -06:00
dependabot[bot]
4fad0b42bc
chore(deps): bump github.com/cli/go-gh/v2 from 2.12.1 to 2.12.2
...
Bumps [github.com/cli/go-gh/v2](https://github.com/cli/go-gh ) from 2.12.1 to 2.12.2.
- [Release notes](https://github.com/cli/go-gh/releases )
- [Commits](https://github.com/cli/go-gh/compare/v2.12.1...v2.12.2 )
---
updated-dependencies:
- dependency-name: github.com/cli/go-gh/v2
dependency-version: 2.12.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-19 21:21:19 +00:00
Andy Feller
9ae764b9fa
Merge pull request #11514 from cli/github-cli-937-v1-project-ghes-deprecation
...
Ensure users can see v2 projects when viewing issues and PRs, avoid v1 projects on GHES 3.17 and newer
2025-08-18 16:15:54 -04:00
Eugene
5ae174b6b3
Merge pull request #11511 from cli/eugene/trusted_root_flag_for_release_verify
...
Hidden trusted root flag for release verify
2025-08-15 16:58:19 -04:00
Kynan Ware
f64892474f
Merge pull request #11510 from cli/kw/upgrade-grpc-batch
...
Bump google.golang.org/grpc & other required dependencies
2025-08-15 09:44:58 -06:00
Andy Feller
4a2abf79b7
Merge pull request #11497 from cli/11409-pr-view-v2-projects
...
View v2 projects in `gh pr view` output
2025-08-15 08:07:36 -04:00
Andy Feller
8873d1b6a7
Merge pull request #11496 from cli/10708-issue-view-v2-projects
...
Display v2 projects in `gh issue view`
2025-08-15 08:06:22 -04:00
Kynan Ware
1dadf98148
Merge branch 'github-cli-937-v1-project-ghes-deprecation' into 11409-pr-view-v2-projects
2025-08-14 15:31:27 -06:00
Kynan Ware
17ce7893a7
Merge branch 'github-cli-937-v1-project-ghes-deprecation' into 10708-issue-view-v2-projects
2025-08-14 15:21:26 -06:00
Eugene
7316ddc57d
Update pkg/cmd/release/verify/verify.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 16:08:44 -04:00
Eugene
e23c9d087d
Update pkg/cmd/release/verify-asset/verify_asset.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 16:08:37 -04:00
Eugene
38a00b8976
Merge pull request #11481 from cli/eugene/test-for-release-FetchRefSHA
...
add test for FetchRefSHA
2025-08-14 15:31:35 -04:00
ejahnGithub
79888378d8
Hidden trusted root flag for release verify
2025-08-14 14:00:55 -04:00
Kynan Ware
f781d90ebc
Update Go dependencies to latest versions
...
Bump several dependencies in go.mod and go.sum, including golang.org/x/crypto, golang.org/x/net, golang.org/x/sys, golang.org/x/term, golang.org/x/text, golang.org/x/tools, google.golang.org/protobuf, google.golang.org/genproto/googleapis/rpc, and github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp. This keeps the project up to date with the latest bug fixes and improvements.
2025-08-14 10:15:54 -06:00
Kynan Ware
6fa003543b
Merge pull request #11368 from cli/dependabot/go_modules/github.com/yuin/goldmark-1.7.13
...
chore(deps): bump github.com/yuin/goldmark from 1.7.12 to 1.7.13
2025-08-14 09:49:04 -06:00
Kynan Ware
1da55e90f3
Merge pull request #11490 from cli/dependabot/github_actions/actions/checkout-5
...
chore(deps): bump actions/checkout from 4 to 5
2025-08-14 09:45:42 -06:00
dependabot[bot]
6710bbc2be
chore(deps): bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-14 15:35:09 +00:00
Kynan Ware
245484cc51
Merge pull request #11458 from cli/dependabot/github_actions/actions/download-artifact-5
...
chore(deps): bump actions/download-artifact from 4 to 5
2025-08-14 09:33:54 -06:00
Eugene
a45107f6b4
Merge branch 'trunk' into eugene/test-for-release-FetchRefSHA
2025-08-14 11:20:48 -04:00
Andy Feller
8699d8596f
Merge pull request #11491 from cli/andyfeller/10716-project-featuredetection-api-version
...
Report that v1 classic projects are detected on GHES 3.16.x or older
2025-08-14 09:46:36 -04:00
ejahnGithub
c4d14044c7
udpate the test
2025-08-13 14:42:50 -04:00
ejahnGithub
2d9cf84690
replace /git/refs/tags/ to /git/ref/tags/
2025-08-13 11:23:06 -04:00
Andy Feller
d10251211c
Update feature_detection.go
2025-08-12 21:18:47 -04:00
Andy Feller
746da6de00
Update PR tests for v2 projects
2025-08-12 21:13:18 -04:00
Andy Feller
72f5fbbec0
Base changes for PR project items
2025-08-12 20:59:50 -04:00
Andy Feller
7851c9c664
Update gh issue view to show v2 projects
...
These changes enhance the existing `gh issue view` experience by listing v2 projects in interactive and non-interactive forms.
Additionally, the tests have been enhanced to use a more standard `httpStubs` approach from other tests.
2025-08-12 16:18:45 -04:00
Kynan Ware
1b083c2005
Merge pull request #11482 from cli/kw/fix-govulncheck-sarif-upload
...
Update govulncheck workflow to scan source code
2025-08-11 15:18:55 -06:00
Andy Feller
a247a045a3
Merge pull request #11473 from cli/andyfeller/github-cli-934-reorganize-install-docs
...
Reorganize installation docs
2025-08-11 17:00:57 -04:00
Andy Feller
5b9324bb46
PR feedback from @bagtoad
2025-08-11 16:50:12 -04:00
Andy Feller
3bafd883b5
Update v1 project detection logic
...
This change updates the v1 project detection logic to retrieve the API version of GHES host to determine support.
2025-08-11 14:50:07 -04:00
Andy Feller
5fc939b647
Merge branch 'andyfeller/github-cli-867-ghes-meta-version-featuredetection' into andyfeller/10716-project-featuredetection-api-version
2025-08-11 14:06:27 -04:00
Kynan Ware
3f55855e8b
Update govulncheck workflow to scan source code
...
Changed govulncheck to run on all source files (./...) instead of the built binary. This fixes uploading to GitHub Code Scanning as the location data will be valid, so it will get accepted.
2025-08-08 16:10:22 -06:00
ejahnGithub
ec086af25c
add test for FetchRefSHA
2025-08-08 17:32:30 -04:00
Andy Feller
2faba515d8
Apply suggestion from @Copilot
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-08 14:59:35 -04:00
Andy Feller
19410112c4
Update docs/install_windows.md
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-08 14:58:50 -04:00
Eugene
dd26fba80c
Merge pull request #11451 from cli/eugene/fetch-ref-handle-ReleaseNotFound
...
fix error for ErrReleaseNotFound when fetching ref
2025-08-08 14:52:08 -04:00
Andy Feller
63462f8e40
Consolidate repo profile, fix headings
...
After discussing changes with @bagtoad, we talked about consolidating the top-level readme further to reduce the amount of links.
Additionally, the Amazon Linux 2 and openSUSE/SUSE sections weren't contained appropriately in the official sections.
2025-08-08 14:21:25 -04:00
Eugene
82eb05bb24
Merge branch 'trunk' into eugene/fetch-ref-handle-ReleaseNotFound
2025-08-08 13:29:04 -04:00
Kynan Ware
588120bab8
Merge pull request #11454 from cli/kw/triage-updates
...
Update issue triage guidelines and label usage
2025-08-08 11:04:09 -06:00
dependabot[bot]
ecbabe8dc2
chore(deps): bump google.golang.org/grpc from 1.73.0 to 1.74.2
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.73.0 to 1.74.2.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.73.0...v1.74.2 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.74.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-08 13:40:32 +00:00
dependabot[bot]
2757414425
chore(deps): bump github.com/yuin/goldmark from 1.7.12 to 1.7.13
...
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark ) from 1.7.12 to 1.7.13.
- [Release notes](https://github.com/yuin/goldmark/releases )
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.12...v1.7.13 )
---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
dependency-version: 1.7.13
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-08 13:39:30 +00:00
Andy Feller
cf8e4acb62
Merge pull request #11319 from cli/dependabot/go_modules/github.com/spf13/pflag-1.0.7
...
chore(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7
2025-08-08 09:37:53 -04:00
Andy Feller
5811b267bf
Update docs on contributing new install methods
...
Now that our installation docs more clearly delineate official and unofficial installation methods, the maintainers are more open to contributions from communities.
2025-08-07 20:39:04 -04:00