GitHub CLI 2.66.0
gh pr view and gh pr status now respect common triangular workflow configurations
Previously, gh pr view and gh pr status would fail for pull request's (PR) open in triangular workflows. This was due to gh being unable to identify the PR's corresponding remote and branch refs on GitHub.
Now, gh pr view and gh pr status should successfully identify the PR's refs when the following common git configurations are used:
branch.<branchName>.pushremoteis setremote.pushDefaultis set
Branch specific configuration, the former, supersedes repo specific configuration, the latter.
Additionally, if the @{push} revision syntax for git resolves for a branch, gh pr view and gh pr status should work regardless of additional config settings.
For more information, see
gh secret list, gh secret set, and gh secret delete now require repository selection when multiple git remotes are present
Previously, gh secret list, gh secret set, and gh secret delete would determine which remote to target for interacting with GitHub Actions secrets. Remotes marked as default using gh repo set-default or through other gh commands had higher priority when figuring out which repository to interact with. This could have unexpected outcomes when using gh secret commands with forked repositories as the upstream repository would generally be selected.
Now, gh secret commands require users to disambiguate which repository should be the target if multiple remotes are present and the -R, --repo flag is not provided.
For more information, see #4688
Extension update notices now notify once every 24 hours per extension and can be disabled
Previously, the GitHub CLI would notify users about newer versions every time an extension was executed. This did not match GitHub CLI notices, which only notified users once every 24 hours and could be disabled through an environment variable.
Now, extension update notices will behave similar to GitHub CLI notices. To disable extension update notices, set the GH_NO_EXTENSION_UPDATE_NOTIFIER environment variable.
For more information, see #9925
What's Changed
✨ Features
- Draft for discussing testing around extension update checking behavior by @andyfeller in #9985
- Make extension update check non-blocking by @andyfeller in #10239
- Ensure extension update notices only notify once within 24 hours, provide ability to disable all extension update notices by @andyfeller in #9934
- feat: make the extension upgrade fancier by @nobe4 in #10194
- fix: padded display by @nobe4 in #10216
- Update
gh attestationattestation bundle fetching logic by @malancas in #10185 - Require repo disambiguation for secret commands by @williammartin in #10209
- show error message for rerun workflow older than a month ago by @iamrajhans in #10227
- Update
gh attestation verifytable output by @malancas in #10104 - Enable MSI building for Windows arm64 by @dennisameling in #10297
- feat: Add support for creating autolink references by @hoffm in #10180
- Find PRs using
@{push}by @Frederick888 in #9208 - feat: Add support for viewing autolink references by @hoffm in #10324
- Update
gh attestationbundle fetching logic by @malancas in #10339
🐛 Fixes
- gh gist delete: prompt for gist id by @danochoa in #10154
- Better handling for waiting for codespaces to become ready by @cmbrose in #10198
- Fix:
gh gist viewandgh gist editprompts with no TTY by @mateusmarquezini in #10048 - Remove naked return values from
ReadBranchConfigandprSelectorForCurrentBranchby @jtmcg in #10197 - Add job to deployment workflow to validate the tag name for a given release by @jtmcg in #10121
- [gh run list] Stop progress indicator on failure from
--workflowflag by @iamazeem in #10323 - Update deployment.yml by @andyfeller in #10340
📚 Docs & Chores
- Add affected version heading to bug report issue form by @BagToad in #10269
- chore: fix some comments by @petercover in #10296
- Update triage.md to reflect FR experiment outcome by @jtmcg in #10196
- Clear up --with-token fine grained PAT usage by @williammartin in #10186
- Correct help documentation around template use in
gh issue createby @andyfeller in #10208 - chore: fix some function names in comment by @zhuhaicity in #10225
- Tiny typo fix by @robmorgan in #10265
- add install instructions for Manjaro Linux by @AMS21 in #10236
- Update test to be compatible with latest Glamour v0.8.0 by @ottok in #10151
- Add more
gh attestation verifyintegration tests by @malancas in #10102
Dependencies
- Bump github.com/mattn/go-colorable from 0.1.13 to 0.1.14 by @dependabot in #10215
- Bump github.com/sigstore/protobuf-specs from 0.3.2 to 0.3.3 by @dependabot in #10214
- Bump github.com/gabriel-vasile/mimetype from 1.4.7 to 1.4.8 by @dependabot in #10184
- Bump google.golang.org/protobuf from 1.36.2 to 1.36.3 by @dependabot in #10250
- Bump golangci-linter and address failures to prepare for Go 1.24 strictness by @mikelolasagasti in #10279
- Bump github.com/google/go-containerregistry from 0.20.2 to 0.20.3 by @dependabot in #10257
- Bump actions/attest-build-provenance from 2.1.0 to 2.2.0 by @dependabot in #10300
- Bump google.golang.org/protobuf from 1.36.3 to 1.36.4 by @dependabot in #10306
- Upgrade sigstore-go to v0.7.0: fixes #10114 formatting issue by @codysoyland in #10309
- Bump github.com/in-toto/attestation from 1.1.0 to 1.1.1 by @dependabot in #10319
New Contributors
Big thank you to our many new and longtime contributors making this release happen!! ❤️ ✨
- @zhuhaicity made their first contribution in #10225
- @danochoa made their first contribution in #10154
- @robmorgan made their first contribution in #10265
- @iamrajhans made their first contribution in #10227
- @AMS21 made their first contribution in #10236
- @petercover made their first contribution in #10296
- @ottok made their first contribution in #10151
- @dennisameling made their first contribution in #10297
- @iamazeem made their first contribution in #10323
- @Frederick888 made their first contribution in #9208
Full Changelog: v2.65.0...v2.66.0