GitHub CLI 2.87.0
gh workflow run immediately returns workflow run URL
One of our most requested features - with the latest changes in GitHub API, gh workflow run will immediately print the created workflow run URL.
Improved gh auth login experience in VM/WSL environments
We have observed rare cases of time drift between the wall and monotonic clocks, mostly in WSL or VM environments, causing failures during polling for the OAuth token. This new release implements measures to account for such situations.
If you continue to experience gh auth login issues in WSL, please comment in #9370
Request Copilot Code Review from gh + performance improvements
gh pr edit now supports Copilot Code Review as a reviewer. You can request a review from Copilot using the --add-reviewer @copilot flag or interactively by selecting reviewers in the prompts.
This release also introduces a new search experience for selecting reviewers and assignees in gh pr edit. Instead of loading all collaborators and teams upfront, results are now fetched based on inputs to a new search option. Initial options are suggestions based on those involved with the pull request already.
? Reviewers [Use arrows to move, space to select, <right> to all, <left> to none, type to filter]
[ ] Search (7472 more)
[x] BagToad (Kynan Ware)
> [x] Copilot (AI)
This experience will follow in gh pr create and gh issue for assignees in a later release.
What's Changed
✨ Features
- Bundle licenses at release time by @williammartin in #12625
- Add
--queryflag toproject item-listby @williammartin in #12696 - feat(workflow run): retrieve workflow dispatch run details by @babakks in #12695
- Pin REST API version to 2022-11-28 by @williammartin in #12680
- Respect
--exit-statuswith--logand--log-failedinrun viewby @williammartin in #12679 - Fork with default branch only during pr create by @williammartin in #12673
gh pr edit: Add support for Copilot as reviewer with search capability, performance and accessibility improvements by @BagToad in #12567gh pr edit: new interactive prompt for assignee selection, performance and accessibility improvements by @BagToad in #12526
📚 Docs & Chores
- Clean up project item-list query addition changes by @williammartin in #12714
gh release upload: Clarify--clobberflag deletes assets before re-uploading by @BagToad in #12711- Add usage examples to
gh gist editcommand by @BagToad in #12710 - Remove feedback issue template by @BagToad in #12708
- Migrate issue triage workflows to shared workflows by @BagToad in #12677
- Migrate PR triage workflows to shared workflows by @BagToad in #12707
- Add missing TODO comments for featuredetection if-statements by @BagToad in #12701
- Add manual dispatch to bump-go workflow by @BagToad in #12631
- typo: dont to don't by @cuiweixie in #12554
- Fix fmt.Errorf format argument in ParseFullReference by @mikelolasagasti in #12516
- Lint source.md by @Sethispr in #12521
Dependencies
- chore(deps): bump golang.org/x/text from 0.32.0 to 0.33.0 by @dependabot[bot] in #12468
- chore(deps): bump golang.org/x/term from 0.38.0 to 0.39.0 by @dependabot[bot] in #12616
- Bump go to 1.25.7 by @BagToad in #12630
- chore(deps): bump golang.org/x/crypto from 0.46.0 to 0.47.0 by @dependabot[bot] in #12629
- chore: bump
cli/oauthtov1.2.2by @babakks in #12573 - update Go to 1.25.6 by @BagToad in #12580
- chore(deps): bump actions/attest-build-provenance from 3.1.0 to 3.2.0 by @dependabot[bot] in #12558
- chore(deps): bump github.com/sigstore/rekor from 1.4.3 to 1.5.0 by @dependabot[bot] in #12524
- chore(deps): bump github.com/theupdateframework/go-tuf/v2 from 2.3.1 to 2.4.1 by @dependabot[bot] in #12555
- chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.4 to 2.13.7 by @dependabot[bot] in #12469
- chore(deps): bump github.com/sigstore/sigstore from 1.10.0 to 1.10.4 by @dependabot[bot] in #12525
- chore(deps): bump github.com/theupdateframework/go-tuf/v2 from 2.3.0 to 2.3.1 by @dependabot[bot] in #12515
- chore(deps): bump actions/download-artifact from 6 to 7 by @dependabot[bot] in #12314
- chore(deps): bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #12315
- chore(deps): bump goreleaser/goreleaser-action from 6.0.0 to 6.4.0 by @dependabot[bot] in #12354
New Contributors
- @Sethispr made their first contribution in #12521
- @cuiweixie made their first contribution in #12554
Full Changelog: v2.86.0...v2.87.0