Skip to content

Commit 888dfb6

Browse files
committed
Bump go-github to v72.0.0
1 parent 023f59d commit 888dfb6

27 files changed

+30
-27
lines changed

e2e/e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"github.com/github/github-mcp-server/internal/ghmcp"
2020
"github.com/github/github-mcp-server/pkg/github"
2121
"github.com/github/github-mcp-server/pkg/translations"
22-
gogithub "github.com/google/go-github/v69/github"
22+
gogithub "github.com/google/go-github/v72/github"
2323
mcpClient "github.com/mark3labs/mcp-go/client"
2424
"github.com/mark3labs/mcp-go/mcp"
2525
"github.com/stretchr/testify/require"

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ go 1.23.7
44

55
require (
66
github.com/google/go-github/v69 v69.2.0
7+
github.com/google/go-github/v72 v72.0.0
78
github.com/josephburnett/jd v1.9.2
89
github.com/mark3labs/mcp-go v0.30.0
910
github.com/migueleliasweb/go-github-mock v1.3.0

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ github.com/google/go-github/v69 v69.2.0 h1:wR+Wi/fN2zdUx9YxSmYE0ktiX9IAR/BeePzea
2222
github.com/google/go-github/v69 v69.2.0/go.mod h1:xne4jymxLR6Uj9b7J7PyTpkMYstEMMwGZa0Aehh1azM=
2323
github.com/google/go-github/v71 v71.0.0 h1:Zi16OymGKZZMm8ZliffVVJ/Q9YZreDKONCr+WUd0Z30=
2424
github.com/google/go-github/v71 v71.0.0/go.mod h1:URZXObp2BLlMjwu0O8g4y6VBneUj2bCHgnI8FfgZ51M=
25+
github.com/google/go-github/v72 v72.0.0 h1:FcIO37BLoVPBO9igQQ6tStsv2asG4IPcYFi655PPvBM=
26+
github.com/google/go-github/v72 v72.0.0/go.mod h1:WWtw8GMRiL62mvIquf1kO3onRHeWWKmK01qdCY8c5fg=
2527
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
2628
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
2729
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=

internal/ghmcp/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/github/github-mcp-server/pkg/github"
1616
mcplog "github.com/github/github-mcp-server/pkg/log"
1717
"github.com/github/github-mcp-server/pkg/translations"
18-
gogithub "github.com/google/go-github/v69/github"
18+
gogithub "github.com/google/go-github/v72/github"
1919
"github.com/mark3labs/mcp-go/mcp"
2020
"github.com/mark3labs/mcp-go/server"
2121
"github.com/shurcooL/githubv4"

pkg/github/code_scanning.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"net/http"
99

1010
"github.com/github/github-mcp-server/pkg/translations"
11-
"github.com/google/go-github/v69/github"
11+
"github.com/google/go-github/v72/github"
1212
"github.com/mark3labs/mcp-go/mcp"
1313
"github.com/mark3labs/mcp-go/server"
1414
)

pkg/github/code_scanning_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"testing"
88

99
"github.com/github/github-mcp-server/pkg/translations"
10-
"github.com/google/go-github/v69/github"
10+
"github.com/google/go-github/v72/github"
1111
"github.com/migueleliasweb/go-github-mock/src/mock"
1212
"github.com/stretchr/testify/assert"
1313
"github.com/stretchr/testify/require"

pkg/github/context_tools_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/github/github-mcp-server/internal/toolsnaps"
1010
"github.com/github/github-mcp-server/pkg/translations"
11-
"github.com/google/go-github/v69/github"
11+
"github.com/google/go-github/v72/github"
1212
"github.com/migueleliasweb/go-github-mock/src/mock"
1313
"github.com/stretchr/testify/assert"
1414
"github.com/stretchr/testify/require"

pkg/github/issues.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
"github.com/github/github-mcp-server/pkg/translations"
1313
"github.com/go-viper/mapstructure/v2"
14-
"github.com/google/go-github/v69/github"
14+
"github.com/google/go-github/v72/github"
1515
"github.com/mark3labs/mcp-go/mcp"
1616
"github.com/mark3labs/mcp-go/server"
1717
"github.com/shurcooL/githubv4"
@@ -451,11 +451,11 @@ func ListIssues(getClient GetClientFn, t translations.TranslationHelperFunc) (to
451451
}
452452

453453
if page, ok := request.GetArguments()["page"].(float64); ok {
454-
opts.Page = int(page)
454+
opts.ListOptions.Page = int(page)
455455
}
456456

457457
if perPage, ok := request.GetArguments()["perPage"].(float64); ok {
458-
opts.PerPage = int(perPage)
458+
opts.ListOptions.PerPage = int(perPage)
459459
}
460460

461461
client, err := getClient(ctx)

pkg/github/issues_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
"github.com/github/github-mcp-server/internal/githubv4mock"
1212
"github.com/github/github-mcp-server/pkg/translations"
13-
"github.com/google/go-github/v69/github"
13+
"github.com/google/go-github/v72/github"
1414
"github.com/migueleliasweb/go-github-mock/src/mock"
1515
"github.com/shurcooL/githubv4"
1616
"github.com/stretchr/testify/assert"

pkg/github/notifications.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"time"
1111

1212
"github.com/github/github-mcp-server/pkg/translations"
13-
"github.com/google/go-github/v69/github"
13+
"github.com/google/go-github/v72/github"
1414
"github.com/mark3labs/mcp-go/mcp"
1515
"github.com/mark3labs/mcp-go/server"
1616
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy