From 39ec7048fbcecaf93e1b319b41f65c248d8292e8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jan 2024 14:57:20 +0000 Subject: [PATCH] fix(deps): update module github.com/google/go-github/v56 to v57 --- compiler/native/compile_test.go | 2 +- compiler/registry/github/github.go | 2 +- compiler/registry/github/github_test.go | 2 +- compiler/registry/github/template.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- scm/github/access.go | 2 +- scm/github/authentication.go | 2 +- scm/github/changeset.go | 2 +- scm/github/deployment.go | 2 +- scm/github/github.go | 2 +- scm/github/github_test.go | 2 +- scm/github/repo.go | 2 +- scm/github/webhook.go | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/compiler/native/compile_test.go b/compiler/native/compile_test.go index 00a995bf8..db2ace55e 100644 --- a/compiler/native/compile_test.go +++ b/compiler/native/compile_test.go @@ -13,7 +13,7 @@ import ( "github.com/go-vela/types/constants" "github.com/go-vela/types/raw" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" "testing" "time" diff --git a/compiler/registry/github/github.go b/compiler/registry/github/github.go index 2fbf3ffc4..5c9a9ca86 100644 --- a/compiler/registry/github/github.go +++ b/compiler/registry/github/github.go @@ -7,7 +7,7 @@ import ( "net/url" "strings" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" "golang.org/x/oauth2" ) diff --git a/compiler/registry/github/github_test.go b/compiler/registry/github/github_test.go index 6ef509736..0944fc907 100644 --- a/compiler/registry/github/github_test.go +++ b/compiler/registry/github/github_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" "golang.org/x/oauth2" ) diff --git a/compiler/registry/github/template.go b/compiler/registry/github/template.go index a41cf16f8..66eb99cf3 100644 --- a/compiler/registry/github/template.go +++ b/compiler/registry/github/template.go @@ -11,7 +11,7 @@ import ( "github.com/go-vela/types/library" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" ) // Template captures the templated pipeline configuration from the GitHub repo. diff --git a/go.mod b/go.mod index 6ec5cae90..7f73fa45e 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/go-vela/types v0.22.1-0.20231222174844-26e54c869418 github.com/golang-jwt/jwt/v5 v5.1.0 github.com/google/go-cmp v0.6.0 - github.com/google/go-github/v56 v56.0.0 + github.com/google/go-github/v57 v57.0.0 github.com/google/uuid v1.4.0 github.com/goware/urlx v0.3.2 github.com/hashicorp/go-cleanhttp v0.5.2 diff --git a/go.sum b/go.sum index e17adfcee..e77036b3f 100644 --- a/go.sum +++ b/go.sum @@ -195,8 +195,8 @@ github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 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/v56 v56.0.0 h1:TysL7dMa/r7wsQi44BjqlwaHvwlFlqkK8CtBWCX3gb4= -github.com/google/go-github/v56 v56.0.0/go.mod h1:D8cdcX98YWJvi7TLo7zM4/h8ZTx6u6fwGEkCdisopo0= +github.com/google/go-github/v57 v57.0.0 h1:L+Y3UPTY8ALM8x+TV0lg+IEBI+upibemtBD8Q9u7zHs= +github.com/google/go-github/v57 v57.0.0/go.mod h1:s0omdnye0hvK/ecLvpsGfJMiRt85PimQh4oygmLIxHw= 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/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= diff --git a/scm/github/access.go b/scm/github/access.go index 96fc1aedd..ca25831e6 100644 --- a/scm/github/access.go +++ b/scm/github/access.go @@ -9,7 +9,7 @@ import ( "github.com/sirupsen/logrus" "github.com/go-vela/types/library" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" ) // OrgAccess captures the user's access level for an org. diff --git a/scm/github/authentication.go b/scm/github/authentication.go index adaf8e2b7..37843a55f 100644 --- a/scm/github/authentication.go +++ b/scm/github/authentication.go @@ -12,7 +12,7 @@ import ( "github.com/go-vela/server/random" "github.com/go-vela/types/library" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" ) // Authorize uses the given access token to authorize the user. diff --git a/scm/github/changeset.go b/scm/github/changeset.go index 39b1f01db..6990eb48f 100644 --- a/scm/github/changeset.go +++ b/scm/github/changeset.go @@ -9,7 +9,7 @@ import ( "github.com/sirupsen/logrus" "github.com/go-vela/types/library" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" ) // Changeset captures the list of files changed for a commit. diff --git a/scm/github/deployment.go b/scm/github/deployment.go index 614cac08f..999cc1181 100644 --- a/scm/github/deployment.go +++ b/scm/github/deployment.go @@ -10,7 +10,7 @@ import ( "github.com/go-vela/types/library" "github.com/go-vela/types/raw" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" ) // GetDeployment gets a deployment from the GitHub repo. diff --git a/scm/github/github.go b/scm/github/github.go index e81d3c0d7..cb070d8b4 100644 --- a/scm/github/github.go +++ b/scm/github/github.go @@ -7,7 +7,7 @@ import ( "fmt" "net/url" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" "github.com/sirupsen/logrus" "golang.org/x/oauth2" diff --git a/scm/github/github_test.go b/scm/github/github_test.go index 6d3c6536c..7e4f5a83c 100644 --- a/scm/github/github_test.go +++ b/scm/github/github_test.go @@ -10,7 +10,7 @@ import ( "reflect" "testing" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" "golang.org/x/oauth2" ) diff --git a/scm/github/repo.go b/scm/github/repo.go index b89900f90..284e3a97d 100644 --- a/scm/github/repo.go +++ b/scm/github/repo.go @@ -14,7 +14,7 @@ import ( "github.com/go-vela/types/constants" "github.com/go-vela/types/library" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" ) // ConfigBackoff is a wrapper for Config that will retry five times if the function diff --git a/scm/github/webhook.go b/scm/github/webhook.go index 8dcda751d..36bebc129 100644 --- a/scm/github/webhook.go +++ b/scm/github/webhook.go @@ -18,7 +18,7 @@ import ( "github.com/go-vela/types" "github.com/go-vela/types/constants" "github.com/go-vela/types/library" - "github.com/google/go-github/v56/github" + "github.com/google/go-github/v57/github" ) // ProcessWebhook parses the webhook from a repo.