Skip to content

GitHub CLI 2.66.0

Choose a tag to compare

@github-actions github-actions released this 30 Jan 18:27
42c0cb0

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 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

🐛 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 view and gh gist edit prompts with no TTY by @mateusmarquezini in #10048
  • Remove naked return values from ReadBranchConfig and prSelectorForCurrentBranch by @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 --workflow flag by @iamazeem in #10323
  • Update deployment.yml by @andyfeller in #10340

📚 Docs & Chores

:dependabot: Dependencies

New Contributors

Big thank you to our many new and longtime contributors making this release happen!! ❤️ ✨

Full Changelog: v2.65.0...v2.66.0