From c7747304c4ee65a74afcdd78e72b548e27d9aaad Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 3 Dec 2024 00:31:29 -0800 Subject: [PATCH] Pull in the latest version of GitHub package (#4932) Tested pulling a repo data and it seems to work as expected Signed-off-by: Tim Smith --- providers/github/connection/connection.go | 2 +- providers/github/connection/connection_test.go | 2 +- providers/github/go.mod | 2 +- providers/github/go.sum | 4 ++-- providers/github/resources/discovery.go | 2 +- providers/github/resources/git.go | 2 +- providers/github/resources/github.go | 2 +- providers/github/resources/github_org.go | 2 +- providers/github/resources/github_package.go | 2 +- providers/github/resources/github_repo.go | 2 +- providers/github/resources/github_team.go | 2 +- providers/github/resources/github_user.go | 2 +- providers/github/resources/github_workflow.go | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/providers/github/connection/connection.go b/providers/github/connection/connection.go index 5a71e6af1b..8e7cdb5942 100644 --- a/providers/github/connection/connection.go +++ b/providers/github/connection/connection.go @@ -13,7 +13,7 @@ import ( "github.com/bradleyfalzon/ghinstallation/v2" "github.com/cockroachdb/errors" - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "github.com/hashicorp/go-retryablehttp" "github.com/rs/zerolog" "github.com/rs/zerolog/log" diff --git a/providers/github/connection/connection_test.go b/providers/github/connection/connection_test.go index 95b5926460..215f49d508 100644 --- a/providers/github/connection/connection_test.go +++ b/providers/github/connection/connection_test.go @@ -11,7 +11,7 @@ import ( "os" "testing" - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "github.com/stretchr/testify/require" "go.mondoo.com/cnquery/v11/providers-sdk/v1/inventory" ) diff --git a/providers/github/go.mod b/providers/github/go.mod index adb91b46f8..5fbd9e0b4d 100644 --- a/providers/github/go.mod +++ b/providers/github/go.mod @@ -8,7 +8,7 @@ require ( github.com/bradleyfalzon/ghinstallation/v2 v2.12.0 github.com/cockroachdb/errors v1.11.3 github.com/gobwas/glob v0.2.3 - github.com/google/go-github/v62 v62.0.0 + github.com/google/go-github/v67 v67.0.0 github.com/hashicorp/go-retryablehttp v0.7.7 github.com/rs/zerolog v1.33.0 github.com/stretchr/testify v1.10.0 diff --git a/providers/github/go.sum b/providers/github/go.sum index 23599c1b31..d6b47aa678 100644 --- a/providers/github/go.sum +++ b/providers/github/go.sum @@ -436,10 +436,10 @@ 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-containerregistry v0.20.2 h1:B1wPJ1SN/S7pB+ZAimcciVD+r+yV/l/DSArMxlbwseo= github.com/google/go-containerregistry v0.20.2/go.mod h1:z38EKdKh4h7IP2gSfUUqEvalZBqs6AoLeWfUy34nQC8= -github.com/google/go-github/v62 v62.0.0 h1:/6mGCaRywZz9MuHyw9gD1CwsbmBX8GWsbFkwMmHdhl4= -github.com/google/go-github/v62 v62.0.0/go.mod h1:EMxeUqGJq2xRu9DYBMwel/mr7kZrzUOfQmmpYrZn2a4= github.com/google/go-github/v66 v66.0.0 h1:ADJsaXj9UotwdgK8/iFZtv7MLc8E8WBl62WLd/D/9+M= github.com/google/go-github/v66 v66.0.0/go.mod h1:+4SO9Zkuyf8ytMj0csN1NR/5OTR+MfqPp8P8dVlcvY4= +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/providers/github/resources/discovery.go b/providers/github/resources/discovery.go index ba14f8e575..a71252e921 100644 --- a/providers/github/resources/discovery.go +++ b/providers/github/resources/discovery.go @@ -9,7 +9,7 @@ import ( "time" "github.com/gobwas/glob" - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "github.com/rs/zerolog/log" "go.mondoo.com/cnquery/v11/llx" "go.mondoo.com/cnquery/v11/logger" diff --git a/providers/github/resources/git.go b/providers/github/resources/git.go index d18f4f977c..9fbe9078ba 100644 --- a/providers/github/resources/git.go +++ b/providers/github/resources/git.go @@ -4,7 +4,7 @@ package resources import ( - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "go.mondoo.com/cnquery/v11/llx" "go.mondoo.com/cnquery/v11/providers-sdk/v1/plugin" ) diff --git a/providers/github/resources/github.go b/providers/github/resources/github.go index 6295b73d3e..2510b176eb 100644 --- a/providers/github/resources/github.go +++ b/providers/github/resources/github.go @@ -7,7 +7,7 @@ import ( "context" "time" - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "github.com/rs/zerolog/log" "go.mondoo.com/cnquery/v11/llx" "go.mondoo.com/cnquery/v11/providers-sdk/v1/plugin" diff --git a/providers/github/resources/github_org.go b/providers/github/resources/github_org.go index ad3eb3dbc2..67005eb7ab 100644 --- a/providers/github/resources/github_org.go +++ b/providers/github/resources/github_org.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "go.mondoo.com/cnquery/v11/llx" "go.mondoo.com/cnquery/v11/logger" "go.mondoo.com/cnquery/v11/providers-sdk/v1/plugin" diff --git a/providers/github/resources/github_package.go b/providers/github/resources/github_package.go index b1050cc558..7b1b0d8cf8 100644 --- a/providers/github/resources/github_package.go +++ b/providers/github/resources/github_package.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "go.mondoo.com/cnquery/v11/llx" "go.mondoo.com/cnquery/v11/providers-sdk/v1/plugin" "go.mondoo.com/cnquery/v11/providers-sdk/v1/util/convert" diff --git a/providers/github/resources/github_repo.go b/providers/github/resources/github_repo.go index b8e37a1351..6e526f8862 100644 --- a/providers/github/resources/github_repo.go +++ b/providers/github/resources/github_repo.go @@ -12,7 +12,7 @@ import ( "sync" "time" - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "github.com/rs/zerolog/log" "go.mondoo.com/cnquery/v11/llx" "go.mondoo.com/cnquery/v11/logger" diff --git a/providers/github/resources/github_team.go b/providers/github/resources/github_team.go index c71e6a09d1..694b7a065b 100644 --- a/providers/github/resources/github_team.go +++ b/providers/github/resources/github_team.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "go.mondoo.com/cnquery/v11/llx" "go.mondoo.com/cnquery/v11/providers/github/connection" ) diff --git a/providers/github/resources/github_user.go b/providers/github/resources/github_user.go index 27d42ca3c0..0d27d354f4 100644 --- a/providers/github/resources/github_user.go +++ b/providers/github/resources/github_user.go @@ -10,7 +10,7 @@ import ( "time" "github.com/cockroachdb/errors" - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "go.mondoo.com/cnquery/v11/llx" "go.mondoo.com/cnquery/v11/logger" "go.mondoo.com/cnquery/v11/providers-sdk/v1/plugin" diff --git a/providers/github/resources/github_workflow.go b/providers/github/resources/github_workflow.go index 8a58824c8e..b9b79f7d75 100644 --- a/providers/github/resources/github_workflow.go +++ b/providers/github/resources/github_workflow.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/google/go-github/v62/github" + "github.com/google/go-github/v67/github" "go.mondoo.com/cnquery/v11/providers-sdk/v1/util/convert" "go.mondoo.com/cnquery/v11/providers/github/connection" "sigs.k8s.io/yaml"