diff --git a/go.mod b/go.mod index 47e74c4..54bd9d2 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/go-logr/logr v1.2.4 github.com/go-logr/zapr v1.2.4 github.com/google/go-containerregistry v0.16.1 - github.com/google/go-github/v53 v53.2.0 + github.com/google/go-github/v56 v56.0.0 github.com/migueleliasweb/go-github-mock v0.0.19 github.com/sethvargo/go-envconfig v0.8.0 github.com/spf13/pflag v1.0.5 @@ -26,6 +26,7 @@ require ( github.com/docker/docker v24.0.0+incompatible // indirect github.com/docker/docker-credential-helpers v0.7.0 // indirect github.com/golang/protobuf v1.5.3 // indirect + github.com/google/go-github/v53 v53.0.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/gorilla/mux v1.8.0 // indirect github.com/klauspost/compress v1.16.5 // indirect diff --git a/go.sum b/go.sum index 89ffe82..5f96468 100644 --- a/go.sum +++ b/go.sum @@ -42,9 +42,10 @@ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-containerregistry v0.16.1 h1:rUEt426sR6nyrL3gt+18ibRcvYpKYdpsa5ZW7MA08dQ= github.com/google/go-containerregistry v0.16.1/go.mod h1:u0qB2l7mvtWVR5kNcbFIhFY1hLbf8eeGapA+vbFDCtQ= +github.com/google/go-github/v53 v53.0.0 h1:T1RyHbSnpHYnoF0ZYKiIPSgPtuJ8G6vgc0MKodXsQDQ= github.com/google/go-github/v53 v53.0.0/go.mod h1:XhFRObz+m/l+UCm9b7KSIC3lT3NWSXGt7mOsAWEloao= -github.com/google/go-github/v53 v53.2.0 h1:wvz3FyF53v4BK+AsnvCmeNhf8AkTaeh2SoYu/XUvTtI= -github.com/google/go-github/v53 v53.2.0/go.mod h1:XhFRObz+m/l+UCm9b7KSIC3lT3NWSXGt7mOsAWEloao= +github.com/google/go-github/v56 v56.0.0 h1:TysL7dMa/r7wsQi44BjqlwaHvwlFlqkK8CtBWCX3gb4= +github.com/google/go-github/v56 v56.0.0/go.mod h1:D8cdcX98YWJvi7TLo7zM4/h8ZTx6u6fwGEkCdisopo0= 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/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= diff --git a/internal/ghpackage/retention.go b/internal/ghpackage/retention.go index 3444880..ecbcd05 100644 --- a/internal/ghpackage/retention.go +++ b/internal/ghpackage/retention.go @@ -13,7 +13,7 @@ import ( "github.com/google/go-containerregistry/pkg/name" "github.com/google/go-containerregistry/pkg/v1/remote" "github.com/google/go-containerregistry/pkg/v1/types" - "github.com/google/go-github/v53/github" + "github.com/google/go-github/v56/github" "golang.org/x/sync/errgroup" ) diff --git a/internal/ghpackage/retention_test.go b/internal/ghpackage/retention_test.go index 7846652..d564127 100644 --- a/internal/ghpackage/retention_test.go +++ b/internal/ghpackage/retention_test.go @@ -10,7 +10,7 @@ import ( "time" "github.com/go-logr/logr" - "github.com/google/go-github/v53/github" + "github.com/google/go-github/v56/github" "github.com/migueleliasweb/go-github-mock/src/mock" "github.com/stretchr/testify/assert" ) diff --git a/main.go b/main.go index 4ec5bd3..7f62342 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( "github.com/doodlescheduling/gh-package-retention/internal/ghpackage" "github.com/go-logr/logr" "github.com/go-logr/zapr" - "github.com/google/go-github/v53/github" + "github.com/google/go-github/v56/github" "github.com/sethvargo/go-envconfig" flag "github.com/spf13/pflag" "go.uber.org/zap"