Skip to content

build(deps): Bump github.com/cli/go-gh/v2 from 2.11.2 to 2.12.1 in /tools #1154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 30, 2025

Bumps github.com/cli/go-gh/v2 from 2.11.2 to 2.12.1.

Release notes

Sourced from github.com/cli/go-gh/v2's releases.

v2.12.1

Security

A security vulnerability has been identified in go-gh where an attacker-controlled GitHub Enterprise Server could result in executing arbitrary commands on a user's machine by replacing HTTP URLs provided by GitHub with local file paths for browsing.

For more information, see GHSA-g9f5-x53j-h563

Full Changelog: cli/go-gh@v2.12.0...v2.12.1

v2.12.0

Introducing experimental support for rendering markdown with customizable, accessible colors

Users with low vision or color blindness rely upon the terminal's ability to change how colors appear, however this requires CLIs to use a limited set of colors:

The markdown rendered for GitHub CLI and extensions defaults to 8-bit colors that users cannot easily customize in this way.

Now, users can force rendered markdown to use customizable, accessible colors by doing one of the following:

  1. Set GH_ACCESSIBLE_COLORS environment variable to a truthy value

    export GH_ACCESSIBLE_COLORS=1
  2. Set accessible_colors configuration setting

    gh config set accessible_colors enabled
Experimental.accessible.markdown.colors.mp4

Users with a customcharmbracelet/glamour style will continue to have markdown rendered using it.

For more information, see cli/go-gh#186

Introducing new experimental github.com/cli/go-gh/v2/pkg/x package

cli/go-gh provides capabilities used by both the GitHub CLI and CLI extensions. Some of these packages are stable, however some like the new experimental markdown support are not.

The github.com/cli/go-gh/v2/pkg/x package has been created to contain experimental features that are subject to change without notice.

Introducing new string matcher functions for Go templates

The following string matcher functions from Masterminds/sprig have been incorporated for more robust Go template support in GitHub CLI and CLI extensions:

... (truncated)

Commits
  • a08820a Merge commit from fork
  • 1ecf6c4 Expand test cases for schem case sensitivity
  • 56c6f10 Parse and examine URL, assume scheme if missing
  • 055ff21 PR feedback
  • 258949b Test refactor, refine errors, remove VSCode fix
  • 0f8a22f Enhance OS-specific browser tests, PR feedback
  • df956a6 Initial fix for browsing URLs
  • 61bf393 Merge pull request #186 from cli/accessible-colors
  • 024a89f Remove toolchain directive from library
  • 09a555f Disable table wrapping for all
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 30, 2025
@dependabot dependabot bot requested a review from a team as a code owner May 30, 2025 15:40
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels May 30, 2025
@austinvalle austinvalle force-pushed the dependabot/go_modules/tools/github.com/cli/go-gh/v2-2.12.1 branch from 5476aa4 to ea0f420 Compare June 2, 2025 19:14

Verified

This commit was signed with the committer’s verified signature.
nirinchev Nikola Irinchev
Bumps [github.com/cli/go-gh/v2](https://github.com/cli/go-gh) from 2.11.2 to 2.12.1.
- [Release notes](https://github.com/cli/go-gh/releases)
- [Commits](cli/go-gh@v2.11.2...v2.12.1)

---
updated-dependencies:
- dependency-name: github.com/cli/go-gh/v2
  dependency-version: 2.12.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@austinvalle austinvalle force-pushed the dependabot/go_modules/tools/github.com/cli/go-gh/v2-2.12.1 branch from ea0f420 to eb85416 Compare June 4, 2025 14:38
@austinvalle austinvalle merged commit 5c666f3 into main Jun 4, 2025
2 checks passed
@austinvalle austinvalle deleted the dependabot/go_modules/tools/github.com/cli/go-gh/v2-2.12.1 branch June 4, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant