Skip to content

chore(deps): update dependency github-cli to v2.95.0#295

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github-cli-2.x
Open

chore(deps): update dependency github-cli to v2.95.0#295
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github-cli-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 6, 2023

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Update New value References Sourcegraph
github-cli minor 2.95.0 source code search for "github-cli"

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

cli/cli (github-cli)

v2.95.0: GitHub CLI 2.95.0

Compare Source

Read repository files and directories with gh repo read-file and gh repo read-dir

Two new preview commands read repository contents without cloning:

# Read a single file to stdout
gh repo read-file README.md --repo cli/cli

# Read from a specific branch, tag, or commit
gh repo read-file go.mod --ref v2.94.0 --repo cli/cli

# Write a file to disk (use --clobber to overwrite)
gh repo read-file README.md --output ./README.md --repo cli/cli

# List the entries in a directory
gh repo read-dir script --repo cli/cli

Both commands default to the repository's default branch, accept --ref to target any branch, tag, or commit, and support --json, --jq, and --template for scripting. This makes it easy for agents and automation to inspect a repo without a full checkout.

[!NOTE]
gh repo read-file and gh repo read-dir are in preview and subject to change without notice.

What's Changed

✨ Features
🐛 Fixes
📚 Docs & Chores
:dependabot: Dependencies

Full Changelog: cli/cli@v2.94.0...v2.95.0

v2.94.0: GitHub CLI 2.94.0

Compare Source

Issue types, sub-issues, and relationships in gh issue

issue-view-monas-cafe-with-frame

This release brings GitHub's advanced issue features to gh issue create, edit, view, and list. You can set and view an issue's type, organize work with sub-issues, and track blocked-by and blocking relationships without leaving the command line:

# Set an issue's type
gh issue create --type Bug
gh issue edit 123 --type Bug

# Organize work with sub-issues
gh issue create --parent 100
gh issue edit 100 --add-sub-issue 123

# Track blocked-by and blocking relationships
gh issue create --blocked-by 200
gh issue edit 123 --add-blocking 300

Issue types and sub-issues are available on GitHub.com and GHES 3.17+; relationships require GHES 3.19+.

Manage discussions with gh discussion

discussion-view-monas-cafe-with-frame

This release introduces the discussion command set for working with GitHub Discussions in gh:

# List discussions
gh discussion list

# View a discussion, its comments, or replies to a comment
gh discussion view 123 --comments

# Create a discussion
gh discussion create

# Edit a discussion
gh discussion edit 123

# Comment on a discussion
gh discussion comment 123

# Reply to a comment using its URL
gh discussion comment <url>

Run gh discussion --help for more information.

[!NOTE]
The discussion command set is in preview and is subject to change without notice.

Equip your agents with new gh features

Teach your agents how to leverage new GitHub CLI features on release day by installing the gh skill:

# Install
gh skill install cli/cli gh --scope user

# Or update
gh skill update gh

What's Changed

✨ Features
🐛 Fixes
📚 Docs & Chores
:dependabot: Dependencies

Full Changelog: cli/cli@v2.93.0...v2.94.0

v2.93.0: GitHub CLI 2.93.0

Compare Source

Security

A security vulnerability has been identified, and fixed, that would incorrectly include authorization header in API requests to TUF repository mirrors via gh attestation, gh release verify, and gh release verify-asset commands.

Users are advised to update gh to version v2.93.0 as soon as possible.

For more information see: GHSA-8xvp-7hj6-mcj9

Support agents in gh secret command set

The gh secret command set can now set agent secrets. For more information, see "Configuring secrets and variables for Copilot cloud agent".

What's Changed

✨ Features
🐛 Fixes
📚 Docs & Chores
:dependabot: Dependencies

New Contributors

Full Changelog: cli/cli@v2.92.0...v2.93.0

v2.92.0: GitHub CLI 2.92.0

Compare Source

Security

A security vulnerability has been identified, and fixed, that could allow terminal escape sequence injection when users view GitHub Actions workflow logs using gh run view --log or gh run view --log-failed.

Users are advised to update gh to version v2.92.0 as soon as possible.

For more information see: GHSA-crc3-h8v6-qh57

Support GitHub Enterprise Cloud (GHEC) in skill commandset

Now gh skill subcommands (install, preview, publish, search, update) are able to work with GHEC hosts with data residency.

Add --allow-hidden-dirs flag to skill preview

Following the addition of --allow-hidden-dirs to skill install in the previous release, now the flag is also supported in skill preview, allowing users to preview skills located in hidden (dot-prefixed) directories such as .claude/skills/, .agents/skills/, and .github/skills/.

What's Changed

✨ Features
🐛 Fixes
📚 Docs & Chores
:dependabot: Dependencies

New Contributors

Full Changelog: cli/cli@v2.91.0...v2.92.0

v2.91.0: GitHub CLI 2.91.0

Compare Source

GitHub CLI now collects pseudonymous telemetry

To better understand how features are used in practice, especially as agentic adoption grows, GitHub CLI now sends pseudonymous telemetry.

See Telemetry for more details on what's collected, why, and how to opt out.

Support more agents in gh skill

Thanks to community feedback, gh now supports a large number of agent hosts. Run gh skill install --help for the list of available agents.

Improve skill discovery

gh skill install now adds the --allow-hidden-dirs flag to support discovering skills in hidden (dot-prefixed) directories such as .claude/skills/, .agents/skills/, and .github/skills/.

Detect skills re-published from other sources

GitHub CLI now detects if the skill to be installed is re-published from an upstream source and offers the option to install it from there. The --upstream flag is also added for non-interactive use cases.

What's Changed

✨ Features
🐛 Fixes
📚 Docs & Chores

Full Changelog: cli/cli@v2.90.0...v2.91.0

v2.90.0: GitHub CLI 2.90.0

Compare Source

Manage agent skills with gh skill (Public Preview)

Agent skills are portable sets of instructions, scripts, and resources that teach AI coding agents how to perform specific tasks. The new gh skill command makes it easy to discover, install, manage, and publish agent skills from GitHub repositories - right from the CLI.


# Discover skills
gh skill search copilot

# Preview a skill without installing
gh skill preview github/awesome-copilot documentation-writer

# Install a skill
gh skill install github/awesome-copilot documentation-writer

# Pin to a specific version
gh skill install github/awesome-copilot documentation-writer --pin v1.2.0

# Check installed skills for updates
gh skill update --all

# Validate and publish your own skills
gh skill publish --dry-run

Skills are automatically installed to the correct directory for your agent host. gh skill supports GitHub Copilot, Claude Code, Cursor, Codex, Gemini CLI, and Antigravity. Target a specific agent and scope with --agent and --scope flags.

gh skill publish validates skills against the Agent Skills specification and checks remote settings like tag protection and immutable releases to improve supply chain security.

Read the full announcement on the GitHub Blog.

gh skill is launching in public preview and is subject to change without notice.

Official extension suggestions

When you run a command that matches a known official extension that isn't installed (e.g. gh stack), the CLI now offers to install it instead of showing a generic "unknown command" error.

This feature is available for github/gh-aw and github/gh-stack.

When possible, you'll be prompted to install immediately. When prompting isn't possible, the CLI prints the gh extension install command to run.

gh extension install no longer requires authentication

gh extension install previously required a valid auth token even though it only needs to download a public release asset. The auth check has been removed, so you can install extensions without being logged in.

What's Changed

✨ Features
🐛 Fixes
📚 Docs & Chores
:dependabot: Dependencies

New Contributors

Full Changelog: cli/cli@v2.89.0...v2.90.0

v2.89.0: GitHub CLI 2.89.0

Compare Source

:copilot: gh agent-task now works on ghe.com tenancies

gh agent-task commands previously failed with 401 Unauthorized for users on ghe.com tenancy hosts because the Copilot API URL was hardcoded. The URL is now resolved dynamically per host, so gh agent-task works correctly regardless of your GitHub hosting environment.

Experimental new prompter

A new TUI-based prompter powered by charmbracelet/huh is available behind the GH_EXPERIMENTAL_PROMPTER environment variable. This is an early preview — try it out and share feedback!

export GH_EXPERIMENTAL_PROMPTER=1

gh issue create and gh issue transfer no longer require extra token scopes

gh issue create and gh issue transfer previously fetched repository fields they didn't need, which could require additional token scopes. These commands now fetch only the minimal fields necessary for issue operations.

What's Changed

✨ Features
  • gh pr create, gh issue create, gh issue edit: search-based assignee selection and login-based mutation on github.com by @​BagToad in #​13009
  • Add experimental huh-only prompter gated by GH_EXPERIMENTAL_PROMPTER by @​BagToad in #​12859
🐛 Fixes
📚 Docs & Chores
:dependabot: Dependencies

New Contributors

Full Changelog: v2.88.1...v2.89.0

v2.88.1: GitHub CLI 2.88.1

Compare Source

Fix pr commands failing with read:project scope error

v2.88.0 introduced a regression where pr commands would fail with the error:

error: your authentication token is missing required scopes [read:project]
To request it, run:  gh auth refresh -s read:project

Previously, missing read:project scope was gracefully handled, and project data was silently skipped. A change inadvertently broke the error matching that enabled this graceful degradation. v2.88.1 reverts these changes so that pr commands work correctly without requiring the read:project scope.

What's Changed

Full Changelog: cli/cli@v2.88.0...v2.88.1

v2.88.0: GitHub CLI 2.88.0

Compare Source

:copilot: Request Copilot Code Review from gh

image

gh pr create and gh pr edit now support Copilot Code Review as a reviewer. Request a review with --add-reviewer @&#8203;copilot, or select Copilot interactively from the searchable reviewer prompt.

Create a pull request and request review from Copilot:

gh pr create --reviewer @&#8203;copilot

Edit a pull request and request review from Copilot:

gh pr edit --add-reviewer @&#8203;copilot

Close issues as duplicates with gh issue close --duplicate-of

You can now close issues as duplicates and link to a duplicate issue directly from the CLI. The new --duplicate-of flag accepts an issue number or URL and marks the closed issue as a duplicate of the referenced one. You can also use --reason duplicate to set the close reason without linking a specific issue.


# Close as duplicate, linking to the original issue
gh issue close 123 --duplicate-of 456

# Close with duplicate reason only
gh issue close 123 --reason duplicate

JSON support for gh agent-task

gh agent-task list and gh agent-task view now support --json, --jq, and --template flags, consistent with other gh commands.

gh agent-task list --json id,name,state
gh agent-task view <id> --json state --jq '.state'

What's Changed

✨ Features
🐛 Fixes
📚 Docs & Chores
:dependabot: Dependencies

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the bot label Nov 6, 2023
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 66250db to 33f7fa4 Compare November 14, 2023 12:03
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.38.0 chore(deps): update dependency github-cli to v2.39.0 Nov 14, 2023
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 33f7fa4 to 88de467 Compare November 14, 2023 17:11
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.39.0 chore(deps): update dependency github-cli to v2.39.1 Nov 14, 2023
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 88de467 to 61888e3 Compare November 27, 2023 19:10
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.39.1 chore(deps): update dependency github-cli to v2.39.2 Nov 27, 2023
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 61888e3 to cbd3339 Compare December 7, 2023 15:33
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.39.2 chore(deps): update dependency github-cli to v2.40.0 Dec 7, 2023
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from cbd3339 to 314e2ce Compare December 13, 2023 15:26
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.40.0 chore(deps): update dependency github-cli to v2.40.1 Dec 13, 2023
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 314e2ce to 39b8eac Compare January 8, 2024 17:37
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.40.1 chore(deps): update dependency github-cli to v2.41.0 Jan 8, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 39b8eac to 221ce63 Compare January 11, 2024 15:14
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.41.0 chore(deps): update dependency github-cli to v2.42.0 Jan 11, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 221ce63 to cc9ffe8 Compare January 16, 2024 22:12
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.42.0 chore(deps): update dependency github-cli to v2.42.1 Jan 16, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from cc9ffe8 to 582d78a Compare January 31, 2024 16:10
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.42.1 chore(deps): update dependency github-cli to v2.43.0 Jan 31, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 582d78a to 234a679 Compare January 31, 2024 21:45
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.43.0 chore(deps): update dependency github-cli to v2.43.1 Jan 31, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 234a679 to df8fca2 Compare February 15, 2024 15:49
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.43.1 chore(deps): update dependency github-cli to v2.44.0 Feb 15, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from df8fca2 to 2393821 Compare February 16, 2024 19:36
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.44.0 chore(deps): update dependency github-cli to v2.44.1 Feb 16, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 2393821 to cccee72 Compare March 4, 2024 21:15
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.44.1 chore(deps): update dependency github-cli to v2.45.0 Mar 4, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from cccee72 to e58d581 Compare March 20, 2024 19:28
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.45.0 chore(deps): update dependency github-cli to v2.46.0 Mar 20, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from e58d581 to 7b630ea Compare April 3, 2024 19:41
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.50.0 chore(deps): update dependency github-cli to v2.51.0 Jun 13, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 9569f65 to dd64f3a Compare June 24, 2024 20:38
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.51.0 chore(deps): update dependency github-cli to v2.52.0 Jun 24, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from dd64f3a to fedb7e8 Compare July 17, 2024 19:27
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.52.0 chore(deps): update dependency github-cli to v2.53.0 Jul 17, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from fedb7e8 to 77be3c5 Compare August 1, 2024 18:26
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.53.0 chore(deps): update dependency github-cli to v2.54.0 Aug 1, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 77be3c5 to 3ef374f Compare August 20, 2024 19:16
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.54.0 chore(deps): update dependency github-cli to v2.55.0 Aug 20, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 3ef374f to 078df7d Compare September 9, 2024 13:48
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.55.0 chore(deps): update dependency github-cli to v2.56.0 Sep 9, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 078df7d to 615a3d4 Compare September 16, 2024 16:39
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.56.0 chore(deps): update dependency github-cli to v2.57.0 Sep 16, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 615a3d4 to 40da805 Compare October 1, 2024 22:06
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.57.0 chore(deps): update dependency github-cli to v2.58.0 Oct 1, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 40da805 to c069d02 Compare October 16, 2024 13:04
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.58.0 chore(deps): update dependency github-cli to v2.59.0 Oct 16, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from c069d02 to 4bb76fe Compare October 24, 2024 17:41
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.59.0 chore(deps): update dependency github-cli to v2.60.0 Oct 24, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 4bb76fe to f76e7cb Compare October 25, 2024 18:57
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.60.0 chore(deps): update dependency github-cli to v2.60.1 Oct 25, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from f76e7cb to ed4b7f9 Compare November 7, 2024 14:09
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.60.1 chore(deps): update dependency github-cli to v2.61.0 Nov 7, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from ed4b7f9 to 36e1659 Compare November 14, 2024 18:31
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.61.0 chore(deps): update dependency github-cli to v2.62.0 Nov 14, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from 36e1659 to beff6ca Compare November 28, 2024 00:06
@renovate renovate Bot changed the title chore(deps): update dependency github-cli to v2.62.0 chore(deps): update dependency github-cli to v2.63.0 Nov 28, 2024
@renovate renovate Bot force-pushed the renovate/github-cli-2.x branch from beff6ca to deed609 Compare December 4, 2024 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant