Conversation
Updates `github.com/cli/go-gh/v2` from 2.11.2 to 2.13.0 - [Release notes](https://github.com/cli/go-gh/releases) - [Commits](cli/go-gh@v2.11.2...v2.13.0) --- updated-dependencies: - dependency-name: github.com/cli/go-gh/v2 dependency-version: 2.13.0 dependency-type: direct:production dependency-group: go_modules ... Signed-off-by: dependabot[bot] <support@github.com>
2cbd56c to
39c1390
Compare
There was a problem hiding this comment.
Pull request overview
This PR updates the github.com/cli/go-gh/v2 dependency from version 2.11.2 to 2.13.0, along with several other dependencies and workflow configurations. The update includes security fixes and new features from the upstream library.
Key changes:
- Updates Go version declaration and numerous Go module dependencies
- Adapts code to use updated ColorScheme API (ColorScheme() method instead of NewColorScheme constructor, Gray() renamed to Muted())
- Improves error handling by capturing return values from fmt.Fprintln/Fprintf calls
- Updates GitHub Actions workflows to use newer action versions
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Updates Go version to 1.25.0 and numerous dependencies including the primary go-gh/v2 upgrade |
| go.sum | Corresponding checksum updates for all dependency changes |
| cmd/gh-classroom/view/view.go | Adapts to new ColorScheme API and adds error handling |
| cmd/gh-classroom/view/print_renderer.go | Adapts to new ColorScheme API and adds error handling |
| cmd/gh-classroom/shared/shared.go | Standardizes error message capitalization |
| cmd/gh-classroom/list/list.go | Adds error handling for output operations |
| cmd/gh-classroom/assignments/assignments.go | Updates cs.Gray() to cs.Muted() and improves error handling |
| cmd/gh-classroom/assignment/print_renderer.go | Adapts to new ColorScheme API and adds error handling |
| cmd/gh-classroom/assignment/assignment.go | Adapts to new ColorScheme API and adds error handling |
| cmd/gh-classroom/assignment-grades/assignment_grades.go | Adds deferred error handling for file close |
| cmd/gh-classroom/accepted-assignments/accepted_assignments.go | Adds error handling for output operations and import reordering |
| cmd/gh-classroom/clone/utils/clone-repository_test.go | Formatting improvements and proper error handling in test cleanup |
| .github/workflows/release.yml | Updates actions/checkout and gh-extension-precompile versions |
| .github/workflows/golangci-lint.yml | Updates action versions and golangci-lint configuration |
| .github/workflows/go.yml | Updates action versions and Go setup configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Collaborator
|
The change prompted linter changes so it's bigger than just a dep update. |
corannejuang
approved these changes
Jan 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
github.com/cli/go-gh/v2from 2.11.2 to 2.13.0Release notes
Sourced from github.com/cli/go-gh/v2's releases.
... (truncated)
Commits
a0a6e89Merge pull request #201 from cli/kw/bump-go-1.25.01585603Merge pull request #202 from cli/babakks/explain-resp-body-closeec8f5cadocs(pkg/api): explainHandleHTTPErrordoes not close resp body5a975a9Update Go version to 1.25.041e1e0dMerge pull request #200 from cli/babakks/upgrade-golangci-lintf6d1f60chore: upgrade to Golangci-lintv2.6b7798dcdocs: fix incorrect godoc usages32287aerefactor: lift break condition into the loopff8ebd0chore: disableQF1008fromstaticcheckrulesc6bd235chore: remove redundant/deprecated// +buildtagsDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.