From 4bd855caaf4cafc417b06f9527bc4f897725ab36 Mon Sep 17 00:00:00 2001 From: Andrew Svoboda Date: Tue, 13 Jun 2023 06:51:57 -0400 Subject: [PATCH] Update go-github to v53 (#263) --- appconfig/appconfig.go | 2 +- appconfig/appconfig_test.go | 2 +- example/issue_comment.go | 2 +- githubapp/caching_client_creator.go | 2 +- githubapp/client_creator.go | 2 +- githubapp/context.go | 2 +- githubapp/context_test.go | 2 +- githubapp/dispatcher.go | 2 +- githubapp/installations.go | 2 +- go.mod | 3 ++- go.sum | 2 ++ 11 files changed, 13 insertions(+), 10 deletions(-) diff --git a/appconfig/appconfig.go b/appconfig/appconfig.go index 27a759421..fe91b098e 100644 --- a/appconfig/appconfig.go +++ b/appconfig/appconfig.go @@ -25,7 +25,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/pkg/errors" "github.com/rs/zerolog" ) diff --git a/appconfig/appconfig_test.go b/appconfig/appconfig_test.go index 349a3f6e4..08be76e15 100644 --- a/appconfig/appconfig_test.go +++ b/appconfig/appconfig_test.go @@ -21,7 +21,7 @@ import ( "path/filepath" "testing" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" ) const ( diff --git a/example/issue_comment.go b/example/issue_comment.go index dda1f11a2..b97b58829 100644 --- a/example/issue_comment.go +++ b/example/issue_comment.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/palantir/go-githubapp/githubapp" "github.com/pkg/errors" "github.com/rs/zerolog" diff --git a/githubapp/caching_client_creator.go b/githubapp/caching_client_creator.go index e95881ac6..68d67ee6c 100644 --- a/githubapp/caching_client_creator.go +++ b/githubapp/caching_client_creator.go @@ -17,7 +17,7 @@ package githubapp import ( "fmt" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" lru "github.com/hashicorp/golang-lru" "github.com/pkg/errors" "github.com/shurcooL/githubv4" diff --git a/githubapp/client_creator.go b/githubapp/client_creator.go index 10ffa4451..d984a6939 100644 --- a/githubapp/client_creator.go +++ b/githubapp/client_creator.go @@ -24,7 +24,7 @@ import ( "time" "github.com/bradleyfalzon/ghinstallation/v2" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/gregjones/httpcache" "github.com/pkg/errors" "github.com/shurcooL/githubv4" diff --git a/githubapp/context.go b/githubapp/context.go index 9df938201..5d52a86bc 100644 --- a/githubapp/context.go +++ b/githubapp/context.go @@ -17,7 +17,7 @@ package githubapp import ( "context" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/rs/zerolog" ) diff --git a/githubapp/context_test.go b/githubapp/context_test.go index 9d061b6e8..c3f0eb483 100644 --- a/githubapp/context_test.go +++ b/githubapp/context_test.go @@ -20,7 +20,7 @@ import ( "encoding/json" "testing" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/rs/zerolog" ) diff --git a/githubapp/dispatcher.go b/githubapp/dispatcher.go index 6e2bdc7a5..522e78dfc 100644 --- a/githubapp/dispatcher.go +++ b/githubapp/dispatcher.go @@ -19,7 +19,7 @@ import ( "fmt" "net/http" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/pkg/errors" "github.com/rcrowley/go-metrics" "github.com/rs/zerolog" diff --git a/githubapp/installations.go b/githubapp/installations.go index 403d7c167..c68704343 100644 --- a/githubapp/installations.go +++ b/githubapp/installations.go @@ -19,7 +19,7 @@ import ( "fmt" "net/http" - "github.com/google/go-github/v52/github" + "github.com/google/go-github/v53/github" "github.com/pkg/errors" ) diff --git a/go.mod b/go.mod index c7acdba00..875051273 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/alexedwards/scs v1.4.1 github.com/bradleyfalzon/ghinstallation/v2 v2.4.0 - github.com/google/go-github/v52 v52.0.0 + github.com/google/go-github/v53 v53.0.0 github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 github.com/hashicorp/golang-lru v0.6.0 github.com/pkg/errors v0.9.1 @@ -21,6 +21,7 @@ require ( github.com/cloudflare/circl v1.3.3 // indirect github.com/golang-jwt/jwt/v4 v4.5.0 // indirect github.com/golang/protobuf v1.5.2 // indirect + github.com/google/go-github/v52 v52.0.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/kr/pretty v0.3.0 // indirect github.com/mattn/go-colorable v0.1.12 // indirect diff --git a/go.sum b/go.sum index f4f3fe585..afb0eae7e 100644 --- a/go.sum +++ b/go.sum @@ -25,6 +25,8 @@ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-github/v52 v52.0.0 h1:uyGWOY+jMQ8GVGSX8dkSwCzlehU3WfdxQ7GweO/JP7M= github.com/google/go-github/v52 v52.0.0/go.mod h1:WJV6VEEUPuMo5pXqqa2ZCZEdbQqua4zAk2MZTIo+m+4= +github.com/google/go-github/v53 v53.0.0 h1:T1RyHbSnpHYnoF0ZYKiIPSgPtuJ8G6vgc0MKodXsQDQ= +github.com/google/go-github/v53 v53.0.0/go.mod h1:XhFRObz+m/l+UCm9b7KSIC3lT3NWSXGt7mOsAWEloao= github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8= github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU= github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA=