diff --git a/compiler/native/compile_test.go b/compiler/native/compile_test.go index e887176d7..31184ef48 100644 --- a/compiler/native/compile_test.go +++ b/compiler/native/compile_test.go @@ -16,7 +16,7 @@ import ( yml "github.com/buildkite/yaml" "github.com/gin-gonic/gin" "github.com/google/go-cmp/cmp" - "github.com/google/go-github/v65/github" + "github.com/google/go-github/v67/github" "github.com/urfave/cli/v2" api "github.com/go-vela/server/api/types" diff --git a/compiler/registry/github/github.go b/compiler/registry/github/github.go index f5027a5b5..a2590a6b3 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/v67/github" "golang.org/x/oauth2" ) diff --git a/compiler/registry/github/github_test.go b/compiler/registry/github/github_test.go index 2b5f069a2..cd666fea9 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/v67/github" "golang.org/x/oauth2" ) diff --git a/compiler/registry/github/template.go b/compiler/registry/github/template.go index 5e1cd927b..a6f6f29dd 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/v67/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 0c68f970b..e26ffd9a6 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/v67 v67.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 fd4582b91..b0f547f35 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/v67 v67.0.0 h1:g11NDAmfaBaCO8qYdI9fsmbaRipHNWRIU/2YGvlh4rg= +github.com/google/go-github/v67 v67.0.0/go.mod h1:zH3K7BxjFndr9QSeFibx4lTKkYS3K9nDanoI1NjaOtY= 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..f0853d652 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/v67/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..b3fe50419 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/v67/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..844a370e5 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/v67/github" ) func TestGetInstallationPermission(t *testing.T) { diff --git a/scm/github/app_transport.go b/scm/github/app_transport.go index b0db1f5f8..3e64d7a94 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/v67/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..5ad61f3c2 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/v67/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..cd24b4d2a 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/v67/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..f4d3410b9 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/v67/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..f5dfe7e18 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/v67/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..f69c6c894 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/v67/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..1625a1e25 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/v67/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..b15d653d2 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/v67/github" "golang.org/x/oauth2" ) diff --git a/scm/github/repo.go b/scm/github/repo.go index d1648caa6..93bc2aedf 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/v67/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 036639674..52bb2d364 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/v67/github" api "github.com/go-vela/server/api/types" "github.com/go-vela/server/compiler/types/yaml" diff --git a/scm/github/webhook.go b/scm/github/webhook.go index a23c6be1b..90c89a9e6 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/v67/github" "github.com/sirupsen/logrus" api "github.com/go-vela/server/api/types"