diff --git a/go.mod b/go.mod index 57424ac..1f357ee 100644 --- a/go.mod +++ b/go.mod @@ -7,14 +7,14 @@ require ( chainguard.dev/sdk v0.1.25 cloud.google.com/go/kms v1.20.0 cloud.google.com/go/secretmanager v1.14.1 - github.com/bradleyfalzon/ghinstallation/v2 v2.10.1-0.20240507094914-84bb4cbb7874 + github.com/bradleyfalzon/ghinstallation/v2 v2.11.0 github.com/chainguard-dev/clog v1.5.1-0.20240811185937-4c523ae4593f github.com/chainguard-dev/terraform-infra-common v0.6.85 github.com/cloudevents/sdk-go/v2 v2.15.2 github.com/coreos/go-oidc/v3 v3.11.0 github.com/golang-jwt/jwt/v4 v4.5.0 github.com/google/go-cmp v0.6.0 - github.com/google/go-github/v61 v61.0.0 + github.com/google/go-github/v62 v62.0.0 github.com/hashicorp/go-multierror v1.1.1 github.com/hashicorp/golang-lru/v2 v2.0.7 github.com/kelseyhightower/envconfig v1.4.0 @@ -33,6 +33,7 @@ require ( github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.24.2 // indirect github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.2 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect + github.com/google/go-github/v61 v61.0.0 // indirect github.com/klauspost/compress v1.17.9 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect diff --git a/go.sum b/go.sum index ebfc6ee..526f4c3 100644 --- a/go.sum +++ b/go.sum @@ -38,8 +38,8 @@ github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZx github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bradleyfalzon/ghinstallation/v2 v2.10.1-0.20240507094914-84bb4cbb7874 h1:xdoEBslnsmZhk3g0orn0db7Pu6eOkth545qLPnlb9JA= -github.com/bradleyfalzon/ghinstallation/v2 v2.10.1-0.20240507094914-84bb4cbb7874/go.mod h1:HQQ3tNU9uzAsEA4beLQTs4VTOJOONGp9Vog/SAWBGbk= +github.com/bradleyfalzon/ghinstallation/v2 v2.11.0 h1:R9d0v+iobRHSaE4wKUnXFiZp53AL4ED5MzgEMwGTZag= +github.com/bradleyfalzon/ghinstallation/v2 v2.11.0/go.mod h1:0LWKQwOHewXO/1acI6TtyE0Xc4ObDb2rFN7eHBAG71M= github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= @@ -107,6 +107,8 @@ 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/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-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-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/pkg/octosts/octosts.go b/pkg/octosts/octosts.go index 7e71875..95ad025 100644 --- a/pkg/octosts/octosts.go +++ b/pkg/octosts/octosts.go @@ -19,7 +19,7 @@ import ( "github.com/bradleyfalzon/ghinstallation/v2" cloudevents "github.com/cloudevents/sdk-go/v2" "github.com/coreos/go-oidc/v3/oidc" - "github.com/google/go-github/v61/github" + "github.com/google/go-github/v62/github" lru "github.com/hashicorp/golang-lru/v2" expirablelru "github.com/hashicorp/golang-lru/v2/expirable" diff --git a/pkg/octosts/trust_policy.go b/pkg/octosts/trust_policy.go index 348711c..133c982 100644 --- a/pkg/octosts/trust_policy.go +++ b/pkg/octosts/trust_policy.go @@ -10,7 +10,7 @@ import ( "slices" "github.com/coreos/go-oidc/v3/oidc" - "github.com/google/go-github/v61/github" + "github.com/google/go-github/v62/github" ) type TrustPolicy struct { diff --git a/pkg/prober/prober.go b/pkg/prober/prober.go index 60dd52c..5dd31e6 100644 --- a/pkg/prober/prober.go +++ b/pkg/prober/prober.go @@ -11,7 +11,7 @@ import ( "chainguard.dev/sdk/sts" "github.com/chainguard-dev/clog" - "github.com/google/go-github/v61/github" + "github.com/google/go-github/v62/github" "github.com/kelseyhightower/envconfig" "github.com/octo-sts/app/pkg/octosts" "golang.org/x/oauth2" diff --git a/pkg/webhook/webhook.go b/pkg/webhook/webhook.go index 00d36bf..35fd952 100644 --- a/pkg/webhook/webhook.go +++ b/pkg/webhook/webhook.go @@ -17,7 +17,7 @@ import ( "github.com/bradleyfalzon/ghinstallation/v2" "github.com/chainguard-dev/clog" - "github.com/google/go-github/v61/github" + "github.com/google/go-github/v62/github" "github.com/hashicorp/go-multierror" "github.com/octo-sts/app/pkg/octosts" "k8s.io/apimachinery/pkg/util/sets" diff --git a/pkg/webhook/webhook_test.go b/pkg/webhook/webhook_test.go index 477c9af..040311c 100644 --- a/pkg/webhook/webhook_test.go +++ b/pkg/webhook/webhook_test.go @@ -24,7 +24,7 @@ import ( "github.com/chainguard-dev/clog" "github.com/chainguard-dev/clog/slogtest" "github.com/google/go-cmp/cmp" - "github.com/google/go-github/v61/github" + "github.com/google/go-github/v62/github" ) func TestValidatePolicy(t *testing.T) {