diff --git a/compiler/native/compile_test.go b/compiler/native/compile_test.go index 09a1ff5dd..c4d6852dc 100644 --- a/compiler/native/compile_test.go +++ b/compiler/native/compile_test.go @@ -15,7 +15,7 @@ import ( "github.com/gin-gonic/gin" "github.com/google/go-cmp/cmp" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" "github.com/urfave/cli/v2" yml "gopkg.in/yaml.v3" diff --git a/compiler/registry/github/github.go b/compiler/registry/github/github.go index f5027a5b5..8eb268bf7 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/v65/github" + "github.com/google/go-github/v68/github" "golang.org/x/oauth2" ) diff --git a/compiler/registry/github/github_test.go b/compiler/registry/github/github_test.go index 2b5f069a2..1a02b8837 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/v65/github" + "github.com/google/go-github/v68/github" "golang.org/x/oauth2" ) diff --git a/compiler/registry/github/template.go b/compiler/registry/github/template.go index 5e1cd927b..e24569c44 100644 --- a/compiler/registry/github/template.go +++ b/compiler/registry/github/template.go @@ -7,7 +7,7 @@ import ( "fmt" "net/http" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" api "github.com/go-vela/server/api/types" "github.com/go-vela/server/compiler/registry" diff --git a/go.mod b/go.mod index bb76fcd3d..d32d22b20 100644 --- a/go.mod +++ b/go.mod @@ -18,7 +18,7 @@ require ( github.com/go-playground/assert/v2 v2.2.0 github.com/golang-jwt/jwt/v5 v5.2.1 github.com/google/go-cmp v0.6.0 - github.com/google/go-github/v65 v65.0.0 + github.com/google/go-github/v68 v68.0.0 github.com/google/uuid v1.6.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 ecbcdaa17..5490cc490 100644 --- a/go.sum +++ b/go.sum @@ -119,8 +119,8 @@ github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5a github.com/google/go-cmp v0.5.2/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/v65 v65.0.0 h1:pQ7BmO3DZivvFk92geC0jB0q2m3gyn8vnYPgV7GSLhQ= -github.com/google/go-github/v65 v65.0.0/go.mod h1:DvrqWo5hvsdhJvHd4WyVF9ttANN3BniqjP8uTFMNb60= +github.com/google/go-github/v68 v68.0.0 h1:ZW57zeNZiXTdQ16qrDiZ0k6XucrxZ2CGmoTvcCyQG6s= +github.com/google/go-github/v68 v68.0.0/go.mod h1:K9HAUBovM2sLwM408A18h+wd9vqdLOEqTUCbnRIcx68= 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 1bd4dd2e3..2c7f59ea9 100644 --- a/scm/github/access.go +++ b/scm/github/access.go @@ -6,7 +6,7 @@ import ( "context" "strings" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" "github.com/sirupsen/logrus" api "github.com/go-vela/server/api/types" diff --git a/scm/github/app_permissions.go b/scm/github/app_permissions.go index 411ee3d4a..172a99798 100644 --- a/scm/github/app_permissions.go +++ b/scm/github/app_permissions.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" ) // see: https://docs.github.com/en/rest/authentication/permissions-required-for-github-apps?apiVersion=2022-11-28 diff --git a/scm/github/app_permissions_test.go b/scm/github/app_permissions_test.go index 74b94a071..d6c99d831 100644 --- a/scm/github/app_permissions_test.go +++ b/scm/github/app_permissions_test.go @@ -5,7 +5,7 @@ package github import ( "testing" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" ) func TestGetInstallationPermission(t *testing.T) { diff --git a/scm/github/app_transport.go b/scm/github/app_transport.go index b0db1f5f8..d2dd6170b 100644 --- a/scm/github/app_transport.go +++ b/scm/github/app_transport.go @@ -19,7 +19,7 @@ import ( "time" "github.com/golang-jwt/jwt/v5" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" "go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace" "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" ) diff --git a/scm/github/authentication.go b/scm/github/authentication.go index bd1f4d62c..de91f2aae 100644 --- a/scm/github/authentication.go +++ b/scm/github/authentication.go @@ -10,7 +10,7 @@ import ( "net/url" "strings" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" api "github.com/go-vela/server/api/types" "github.com/go-vela/server/random" diff --git a/scm/github/changeset.go b/scm/github/changeset.go index 7a9732fc4..8adb1363c 100644 --- a/scm/github/changeset.go +++ b/scm/github/changeset.go @@ -6,7 +6,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" "github.com/sirupsen/logrus" api "github.com/go-vela/server/api/types" diff --git a/scm/github/deployment.go b/scm/github/deployment.go index f1c32db88..5a8ac9f86 100644 --- a/scm/github/deployment.go +++ b/scm/github/deployment.go @@ -6,7 +6,7 @@ import ( "context" "encoding/json" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" "github.com/sirupsen/logrus" api "github.com/go-vela/server/api/types" diff --git a/scm/github/github.go b/scm/github/github.go index b8a3082df..be83a2006 100644 --- a/scm/github/github.go +++ b/scm/github/github.go @@ -12,7 +12,7 @@ import ( "os" "strings" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" "github.com/sirupsen/logrus" "golang.org/x/oauth2" diff --git a/scm/github/github_client.go b/scm/github/github_client.go index ac79436c8..b282cd6e0 100644 --- a/scm/github/github_client.go +++ b/scm/github/github_client.go @@ -11,7 +11,7 @@ import ( "net/url" "strings" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" "go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace" "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" "golang.org/x/oauth2" diff --git a/scm/github/github_client_test.go b/scm/github/github_client_test.go index 57de6f7d7..d34fc111e 100644 --- a/scm/github/github_client_test.go +++ b/scm/github/github_client_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/gin-gonic/gin" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" api "github.com/go-vela/server/api/types" "github.com/go-vela/server/constants" diff --git a/scm/github/github_test.go b/scm/github/github_test.go index 3ce90df3a..6ee1f5909 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/v65/github" + "github.com/google/go-github/v68/github" "golang.org/x/oauth2" ) diff --git a/scm/github/repo.go b/scm/github/repo.go index 060876e48..28df414ec 100644 --- a/scm/github/repo.go +++ b/scm/github/repo.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" "github.com/sirupsen/logrus" api "github.com/go-vela/server/api/types" diff --git a/scm/github/repo_test.go b/scm/github/repo_test.go index 1a86f089a..833217070 100644 --- a/scm/github/repo_test.go +++ b/scm/github/repo_test.go @@ -14,7 +14,7 @@ import ( "github.com/gin-gonic/gin" "github.com/google/go-cmp/cmp" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" api "github.com/go-vela/server/api/types" "github.com/go-vela/server/compiler/types/yaml/yaml" diff --git a/scm/github/webhook.go b/scm/github/webhook.go index a23c6be1b..b312a5ed4 100644 --- a/scm/github/webhook.go +++ b/scm/github/webhook.go @@ -13,7 +13,7 @@ import ( "strings" "time" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v68/github" "github.com/sirupsen/logrus" api "github.com/go-vela/server/api/types"