Skip to content

Gogithub update#2004

Merged
JoannaaKL merged 6 commits intomainfrom
gogithub-update
Feb 12, 2026
Merged

Gogithub update#2004
JoannaaKL merged 6 commits intomainfrom
gogithub-update

Conversation

@JoannaaKL
Copy link
Contributor

@JoannaaKL JoannaaKL commented Feb 12, 2026

Updated google/go-github to the latest version

MCP impact

  • No tool or API changes
  • Tool schema or behavior changed
  • New tool added

Prompts tested (tool changes only)

  • N/A

Security / limits

  • No security or limits impact
  • Auth / permissions considered
  • Data exposure, filtering, or token/size limits considered

Tool renaming

  • I am renaming tools as part of this PR (e.g. a part of a consolidation effort)
    • I have added the new tool aliases in deprecated_tool_aliases.go
  • I am not renaming tools as part of this PR

Note: if you're renaming tools, you must add the tool aliases. For more information on how to do so, please refer to the official docs.

Lint & tests

  • Linted locally with ./script/lint
  • Tested locally with ./script/test

Docs

  • Not needed
  • Updated (README / docs / examples)

@JoannaaKL JoannaaKL requested a review from a team as a code owner February 12, 2026 09:41
Copilot AI review requested due to automatic review settings February 12, 2026 09:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s GitHub API client dependency to a newer google/go-github major version and refreshes the related dependency metadata and licensing artifacts used by this MCP server.

Changes:

  • Bump github.com/google/go-github from v79 to v82 (and go-querystring to v1.2.0) and update go.mod/go.sum.
  • Update all Go import paths from go-github/v79 to go-github/v82 across packages and tests (including e2e).
  • Update generated third-party license docs and add the new vendored LICENSE file under third-party/.

Reviewed changes

Copilot reviewed 51 out of 53 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
third-party/github.com/google/go-github/v82/github/LICENSE Adds vendored license file for the updated go-github version.
third-party-licenses.windows.md Updates listed dependency versions for go-github/go-querystring.
third-party-licenses.linux.md Updates listed dependency versions for go-github/go-querystring.
third-party-licenses.darwin.md Updates listed dependency versions for go-github/go-querystring.
go.mod Bumps go-github (and related deps) and updates module requirements.
go.sum Updates checksums to match the new dependency graph.
pkg/raw/raw.go Updates go-github import to v82.
pkg/raw/raw_test.go Updates go-github import to v82.
pkg/github/tools.go Updates go-github import to v82.
pkg/github/server_test.go Updates go-github import to v82.
pkg/github/security_advisories.go Updates go-github import to v82.
pkg/github/security_advisories_test.go Updates go-github import to v82.
pkg/github/secret_scanning.go Updates go-github import to v82.
pkg/github/secret_scanning_test.go Updates go-github import to v82.
pkg/github/search.go Updates go-github import to v82.
pkg/github/search_test.go Updates go-github import to v82.
pkg/github/search_utils.go Updates go-github import to v82.
pkg/github/repository_resource.go Updates go-github import to v82.
pkg/github/repository_resource_test.go Updates go-github import to v82.
pkg/github/repository_resource_completions.go Updates go-github import to v82.
pkg/github/repository_resource_completions_test.go Updates go-github import to v82.
pkg/github/repositories.go Updates go-github import to v82.
pkg/github/repositories_helper.go Updates go-github import to v82.
pkg/github/repositories_test.go Updates go-github import to v82.
pkg/github/pullrequests.go Updates go-github import to v82.
pkg/github/pullrequests_test.go Updates go-github import to v82.
pkg/github/projects.go Updates go-github import to v82.
pkg/github/projects_test.go Updates go-github import to v82.
pkg/github/params.go Updates go-github import to v82.
pkg/github/params_test.go Updates go-github import to v82.
pkg/github/notifications.go Updates go-github import to v82.
pkg/github/notifications_test.go Updates go-github import to v82.
pkg/github/minimal_types.go Updates go-github import to v82.
pkg/github/issues.go Updates go-github import to v82.
pkg/github/issues_test.go Updates go-github import to v82.
pkg/github/git.go Updates go-github import to v82.
pkg/github/git_test.go Updates go-github import to v82.
pkg/github/gists.go Updates go-github import to v82.
pkg/github/gists_test.go Updates go-github import to v82.
pkg/github/discussions.go Updates go-github import to v82.
pkg/github/discussions_test.go Updates go-github import to v82.
pkg/github/dependencies.go Updates go-github import to v82.
pkg/github/dependabot.go Updates go-github import to v82.
pkg/github/dependabot_test.go Updates go-github import to v82.
pkg/github/context_tools_test.go Updates go-github import to v82.
pkg/github/code_scanning.go Updates go-github import to v82.
pkg/github/code_scanning_test.go Updates go-github import to v82.
pkg/github/actions.go Updates go-github import to v82.
pkg/github/actions_test.go Updates go-github import to v82.
pkg/errors/error.go Updates go-github import to v82.
pkg/errors/error_test.go Updates go-github import to v82.
internal/ghmcp/server.go Updates go-github import to v82.
e2e/e2e_test.go Updates go-github import to v82.

go.mod Outdated
Comment on lines 6 to 10
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

github.com/fatih/color is now listed as a direct dependency, but it isn’t imported anywhere in the repo. This will likely cause the CI go mod tidy -diff step to fail (tidy will remove it or mark it // indirect). Please run go mod tidy and commit the resulting go.mod/go.sum changes, or remove this dep if it was added accidentally.

Copilot uses AI. Check for mistakes.
tommaso-moro
tommaso-moro previously approved these changes Feb 12, 2026
* Initial plan

* Remove unused github.com/fatih/color dependency

The fatih/color package was listed in go.mod but not actually imported
or used anywhere in the codebase. This caused the CI "go mod tidy -diff"
check to fail. Running go mod tidy removed:
- github.com/fatih/color v1.18.0
- github.com/mattn/go-colorable v0.1.13 (transitive)
- github.com/mattn/go-isatty v0.0.20 (transitive)

Fixes the failing ubuntu-latest workflow build.

Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com>
@JoannaaKL JoannaaKL merged commit 266bd93 into main Feb 12, 2026
16 checks passed
@JoannaaKL JoannaaKL deleted the gogithub-update branch February 12, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments