diff --git a/compiler/native/compile_test.go b/compiler/native/compile_test.go index 8667cd939..3e36d42d0 100644 --- a/compiler/native/compile_test.go +++ b/compiler/native/compile_test.go @@ -14,7 +14,7 @@ import ( "github.com/gin-gonic/gin" "github.com/google/go-cmp/cmp" - "github.com/google/go-github/v73/github" + "github.com/google/go-github/v74/github" yml "go.yaml.in/yaml/v3" api "github.com/go-vela/server/api/types" diff --git a/compiler/registry/github/github.go b/compiler/registry/github/github.go index 0f13003c8..649b7c090 100644 --- a/compiler/registry/github/github.go +++ b/compiler/registry/github/github.go @@ -8,7 +8,7 @@ import ( "reflect" "strings" - "github.com/google/go-github/v73/github" + "github.com/google/go-github/v74/github" "golang.org/x/oauth2" ) diff --git a/compiler/registry/github/github_test.go b/compiler/registry/github/github_test.go index a51f12e91..e2d5a35c0 100644 --- a/compiler/registry/github/github_test.go +++ b/compiler/registry/github/github_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/google/go-cmp/cmp" - "github.com/google/go-github/v73/github" + "github.com/google/go-github/v74/github" "golang.org/x/oauth2" ) diff --git a/compiler/registry/github/template.go b/compiler/registry/github/template.go index 30d282021..8565178e6 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/v73/github" + "github.com/google/go-github/v74/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 e722309e8..7459b260c 100644 --- a/go.mod +++ b/go.mod @@ -19,7 +19,7 @@ require ( github.com/go-playground/assert/v2 v2.2.0 github.com/golang-jwt/jwt/v5 v5.2.3 github.com/google/go-cmp v0.7.0 - github.com/google/go-github/v73 v73.0.0 + github.com/google/go-github/v74 v74.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 dc9da312d..d09009de0 100644 --- a/go.sum +++ b/go.sum @@ -116,8 +116,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.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= -github.com/google/go-github/v73 v73.0.0 h1:aR+Utnh+Y4mMkS+2qLQwcQ/cF9mOTpdwnzlaw//rG24= -github.com/google/go-github/v73 v73.0.0/go.mod h1:fa6w8+/V+edSU0muqdhCVY7Beh1M8F1IlQPZIANKIYw= +github.com/google/go-github/v74 v74.0.0 h1:yZcddTUn8DPbj11GxnMrNiAnXH14gNs559AsUpNpPgM= +github.com/google/go-github/v74 v74.0.0/go.mod h1:ubn/YdyftV80VPSI26nSJvaEsTOnsjrxG3o9kJhcyak= 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 37680d9bf..8396ce205 100644 --- a/scm/github/access.go +++ b/scm/github/access.go @@ -6,7 +6,7 @@ import ( "context" "strings" - "github.com/google/go-github/v73/github" + "github.com/google/go-github/v74/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 9e710c55c..f553f6e85 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/v73/github" + "github.com/google/go-github/v74/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 eef5b2ea6..bab999fdd 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/v73/github" + "github.com/google/go-github/v74/github" ) func TestGetInstallationPermission(t *testing.T) { diff --git a/scm/github/app_transport.go b/scm/github/app_transport.go index 4a3664616..b986a7a35 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/v73/github" + "github.com/google/go-github/v74/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 f017e4a41..c9fbeefa3 100644 --- a/scm/github/authentication.go +++ b/scm/github/authentication.go @@ -10,7 +10,7 @@ import ( "net/url" "strings" - "github.com/google/go-github/v73/github" + "github.com/google/go-github/v74/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 4c02737e0..294351aaa 100644 --- a/scm/github/changeset.go +++ b/scm/github/changeset.go @@ -6,7 +6,7 @@ import ( "context" "fmt" - "github.com/google/go-github/v73/github" + "github.com/google/go-github/v74/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 fe8e908a9..5c0652ec8 100644 --- a/scm/github/deployment.go +++ b/scm/github/deployment.go @@ -6,7 +6,7 @@ import ( "context" "encoding/json" - "github.com/google/go-github/v73/github" + "github.com/google/go-github/v74/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 1e99f98e6..0f5fd275b 100644 --- a/scm/github/github.go +++ b/scm/github/github.go @@ -12,7 +12,7 @@ import ( "os" "strings" - "github.com/google/go-github/v73/github" + "github.com/google/go-github/v74/github" "github.com/sirupsen/logrus" "golang.org/x/oauth2" diff --git a/scm/github/github_client.go b/scm/github/github_client.go index e5f163acc..ccddb9b8e 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/v73/github" + "github.com/google/go-github/v74/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 ff380474f..2f151fea9 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/v73/github" + "github.com/google/go-github/v74/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 beec922d0..e73aae7d9 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/v73/github" + "github.com/google/go-github/v74/github" "golang.org/x/oauth2" ) diff --git a/scm/github/repo.go b/scm/github/repo.go index e8dd77751..1222c9e69 100644 --- a/scm/github/repo.go +++ b/scm/github/repo.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/google/go-github/v73/github" + "github.com/google/go-github/v74/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 825d111ef..ab51b6f2b 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/v73/github" + "github.com/google/go-github/v74/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 006f44d5e..2ced54990 100644 --- a/scm/github/webhook.go +++ b/scm/github/webhook.go @@ -13,7 +13,7 @@ import ( "strings" "time" - "github.com/google/go-github/v73/github" + "github.com/google/go-github/v74/github" "github.com/sirupsen/logrus" api "github.com/go-vela/server/api/types"