From 56348cf8d65e62ded6404bdc2a154fb61d31fa67 Mon Sep 17 00:00:00 2001 From: Andrew Svoboda Date: Tue, 7 May 2024 19:37:39 +0100 Subject: [PATCH] Update go-github to v61 (#353) --- 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 53528580c..6a2dea268 100644 --- a/appconfig/appconfig.go +++ b/appconfig/appconfig.go @@ -25,7 +25,7 @@ import ( "net/http" "strings" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/github" "github.com/pkg/errors" "github.com/rs/zerolog" ) diff --git a/appconfig/appconfig_test.go b/appconfig/appconfig_test.go index 8ccbbbb3d..dfcc81a70 100644 --- a/appconfig/appconfig_test.go +++ b/appconfig/appconfig_test.go @@ -21,7 +21,7 @@ import ( "path/filepath" "testing" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/github" ) const ( diff --git a/example/issue_comment.go b/example/issue_comment.go index f181a0e2a..5ad9d8d72 100644 --- a/example/issue_comment.go +++ b/example/issue_comment.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/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 989aa7d30..3e7db08fc 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/v60/github" + "github.com/google/go-github/v61/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 7eddde223..c1ed5d1aa 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/v60/github" + "github.com/google/go-github/v61/github" "github.com/gregjones/httpcache" "github.com/pkg/errors" "github.com/shurcooL/githubv4" diff --git a/githubapp/context.go b/githubapp/context.go index f2606d2d2..20c58523c 100644 --- a/githubapp/context.go +++ b/githubapp/context.go @@ -17,7 +17,7 @@ package githubapp import ( "context" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/github" "github.com/rs/zerolog" ) diff --git a/githubapp/context_test.go b/githubapp/context_test.go index be5e1af9a..f8dd23ebc 100644 --- a/githubapp/context_test.go +++ b/githubapp/context_test.go @@ -20,7 +20,7 @@ import ( "encoding/json" "testing" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/github" "github.com/rs/zerolog" ) diff --git a/githubapp/dispatcher.go b/githubapp/dispatcher.go index b448956d3..542d6b2d8 100644 --- a/githubapp/dispatcher.go +++ b/githubapp/dispatcher.go @@ -19,7 +19,7 @@ import ( "fmt" "net/http" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/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 b10c97005..e4e4947fc 100644 --- a/githubapp/installations.go +++ b/githubapp/installations.go @@ -19,7 +19,7 @@ import ( "fmt" "net/http" - "github.com/google/go-github/v60/github" + "github.com/google/go-github/v61/github" "github.com/pkg/errors" ) diff --git a/go.mod b/go.mod index 7c6478706..a361aaaee 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.21 require ( github.com/alexedwards/scs v1.4.1 github.com/bradleyfalzon/ghinstallation/v2 v2.10.0 - github.com/google/go-github/v60 v60.0.0 + github.com/google/go-github/v61 v61.0.0 github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 github.com/hashicorp/golang-lru v0.6.0 github.com/patrickmn/go-cache v2.1.0+incompatible @@ -19,6 +19,7 @@ require ( require ( github.com/golang-jwt/jwt/v4 v4.5.0 // indirect + github.com/google/go-github/v60 v60.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.13 // indirect diff --git a/go.sum b/go.sum index eb37e77c4..ee182dec3 100644 --- a/go.sum +++ b/go.sum @@ -12,6 +12,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-github/v60 v60.0.0 h1:oLG98PsLauFvvu4D/YPxq374jhSxFYdzQGNCyONLfn8= github.com/google/go-github/v60 v60.0.0/go.mod h1:ByhX2dP9XT9o/ll2yXAu2VD8l5eNVg8hD4Cr0S/LmQk= +github.com/google/go-github/v61 v61.0.0 h1:VwQCBwhyE9JclCI+22/7mLB1PuU9eowCXKY5pNlu1go= +github.com/google/go-github/v61 v61.0.0/go.mod h1:0WR+KmsWX75G2EbpyGsGmradjo3IiciuI4BmdVCobQY= 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=