diff --git a/github/auth.go b/github/auth.go index 956bd53..17e8880 100644 --- a/github/auth.go +++ b/github/auth.go @@ -19,7 +19,7 @@ package github import ( "fmt" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/fluxcd/go-git-providers/gitprovider" ) diff --git a/github/client.go b/github/client.go index 9fec8de..596a06a 100644 --- a/github/client.go +++ b/github/client.go @@ -20,7 +20,7 @@ import ( "context" "strings" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/fluxcd/go-git-providers/gitprovider" ) diff --git a/github/client_organization_teams.go b/github/client_organization_teams.go index ad02297..201bceb 100644 --- a/github/client_organization_teams.go +++ b/github/client_organization_teams.go @@ -19,7 +19,7 @@ package github import ( "context" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/fluxcd/go-git-providers/gitprovider" ) diff --git a/github/client_repositories_org.go b/github/client_repositories_org.go index 9370ab8..62c78a2 100644 --- a/github/client_repositories_org.go +++ b/github/client_repositories_org.go @@ -20,7 +20,7 @@ import ( "context" "errors" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/fluxcd/go-git-providers/gitprovider" ) diff --git a/github/client_repository_branch.go b/github/client_repository_branch.go index 7eacc21..9397aaf 100644 --- a/github/client_repository_branch.go +++ b/github/client_repository_branch.go @@ -20,7 +20,7 @@ import ( "context" "github.com/fluxcd/go-git-providers/gitprovider" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" ) // BranchClient implements the gitprovider.BranchClient interface. diff --git a/github/client_repository_commit.go b/github/client_repository_commit.go index 0ae00c3..9621753 100644 --- a/github/client_repository_commit.go +++ b/github/client_repository_commit.go @@ -21,7 +21,7 @@ import ( "fmt" "github.com/fluxcd/go-git-providers/gitprovider" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" ) var githubNewFileMode = "100644" diff --git a/github/client_repository_deploykey.go b/github/client_repository_deploykey.go index 35390ea..b6fdb95 100644 --- a/github/client_repository_deploykey.go +++ b/github/client_repository_deploykey.go @@ -20,7 +20,7 @@ import ( "context" "errors" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/fluxcd/go-git-providers/gitprovider" ) diff --git a/github/client_repository_file.go b/github/client_repository_file.go index 6bd7218..31eee6c 100644 --- a/github/client_repository_file.go +++ b/github/client_repository_file.go @@ -23,7 +23,7 @@ import ( "io" "github.com/fluxcd/go-git-providers/gitprovider" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" ) // FileClient implements the gitprovider.FileClient interface. diff --git a/github/client_repository_pullrequest.go b/github/client_repository_pullrequest.go index 5684d9b..4d7e151 100644 --- a/github/client_repository_pullrequest.go +++ b/github/client_repository_pullrequest.go @@ -20,7 +20,7 @@ import ( "context" "github.com/fluxcd/go-git-providers/gitprovider" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" ) // PullRequestClient implements the gitprovider.PullRequestClient interface. diff --git a/github/example_organization_test.go b/github/example_organization_test.go index 542b5ff..89897ce 100644 --- a/github/example_organization_test.go +++ b/github/example_organization_test.go @@ -7,7 +7,7 @@ import ( "github.com/fluxcd/go-git-providers/github" "github.com/fluxcd/go-git-providers/gitprovider" - gogithub "github.com/google/go-github/v57/github" + gogithub "github.com/google/go-github/v61/github" ) // checkErr is used for examples in this repository. diff --git a/github/example_repository_test.go b/github/example_repository_test.go index 12b1e6a..5a7c834 100644 --- a/github/example_repository_test.go +++ b/github/example_repository_test.go @@ -6,7 +6,7 @@ import ( "github.com/fluxcd/go-git-providers/github" "github.com/fluxcd/go-git-providers/gitprovider" - gogithub "github.com/google/go-github/v57/github" + gogithub "github.com/google/go-github/v61/github" ) func ExampleOrgRepositoriesClient_Get() { diff --git a/github/githubclient.go b/github/githubclient.go index e875ab8..0324c49 100644 --- a/github/githubclient.go +++ b/github/githubclient.go @@ -21,7 +21,7 @@ import ( "fmt" "github.com/fluxcd/go-git-providers/gitprovider" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" ) // githubClientImpl is a wrapper around *github.Client, which implements higher-level methods, diff --git a/github/integration_test.go b/github/integration_test.go index 83f42dc..b485903 100644 --- a/github/integration_test.go +++ b/github/integration_test.go @@ -31,7 +31,7 @@ import ( "testing" "time" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/gregjones/httpcache" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" diff --git a/github/resource_commit.go b/github/resource_commit.go index f9d97d2..d7b5408 100644 --- a/github/resource_commit.go +++ b/github/resource_commit.go @@ -17,7 +17,7 @@ limitations under the License. package github import ( - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/fluxcd/go-git-providers/gitprovider" ) diff --git a/github/resource_deploykey.go b/github/resource_deploykey.go index dda4cf6..eca676f 100644 --- a/github/resource_deploykey.go +++ b/github/resource_deploykey.go @@ -22,7 +22,7 @@ import ( "fmt" "reflect" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/fluxcd/go-git-providers/gitprovider" "github.com/fluxcd/go-git-providers/validation" diff --git a/github/resource_organization.go b/github/resource_organization.go index 657b5f7..dc87837 100644 --- a/github/resource_organization.go +++ b/github/resource_organization.go @@ -17,7 +17,7 @@ limitations under the License. package github import ( - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/fluxcd/go-git-providers/gitprovider" "github.com/fluxcd/go-git-providers/validation" diff --git a/github/resource_pullrequest.go b/github/resource_pullrequest.go index 6cb89c6..d3f3aa6 100644 --- a/github/resource_pullrequest.go +++ b/github/resource_pullrequest.go @@ -18,7 +18,7 @@ package github import ( "github.com/fluxcd/go-git-providers/gitprovider" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" ) func newPullRequest(ctx *clientContext, apiObj *github.PullRequest) *pullrequest { diff --git a/github/resource_repository.go b/github/resource_repository.go index 98f88f3..1ca1788 100644 --- a/github/resource_repository.go +++ b/github/resource_repository.go @@ -21,7 +21,7 @@ import ( "errors" "reflect" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/fluxcd/go-git-providers/gitprovider" "github.com/fluxcd/go-git-providers/validation" diff --git a/github/util.go b/github/util.go index a0c6328..b9bd213 100644 --- a/github/util.go +++ b/github/util.go @@ -21,7 +21,7 @@ import ( "fmt" "net/http" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" "github.com/fluxcd/go-git-providers/gitprovider" "github.com/fluxcd/go-git-providers/validation" diff --git a/github/util_test.go b/github/util_test.go index fa385ca..0528b37 100644 --- a/github/util_test.go +++ b/github/util_test.go @@ -23,7 +23,7 @@ import ( "github.com/fluxcd/go-git-providers/gitprovider" "github.com/fluxcd/go-git-providers/validation" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v61/github" ) func Test_validateAPIObject(t *testing.T) { diff --git a/go.mod b/go.mod index ee9d860..3f5be57 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/go-logr/logr v1.4.1 github.com/go-logr/zapr v1.3.0 github.com/google/go-cmp v0.6.0 - github.com/google/go-github/v57 v57.0.0 + github.com/google/go-github/v61 v61.0.0 github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 github.com/hashicorp/go-cleanhttp v0.5.2 github.com/hashicorp/go-multierror v1.1.1 diff --git a/go.sum b/go.sum index 05ee8c7..921c9be 100644 --- a/go.sum +++ b/go.sum @@ -778,8 +778,8 @@ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= 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/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-github/v61 v61.0.0 h1:VwQCBwhyE9JclCI+22/7mLB1PuU9eowCXKY5pNlu1go= +github.com/google/go-github/v61 v61.0.0/go.mod h1:0WR+KmsWX75G2EbpyGsGmradjo3IiciuI4BmdVCobQY= 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/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=