diff --git a/go.mod b/go.mod index d1736cd..86f10e7 100644 --- a/go.mod +++ b/go.mod @@ -6,11 +6,11 @@ require ( chainguard.dev/go-grpc-kit v0.17.2 chainguard.dev/sdk v0.1.14 cloud.google.com/go/kms v1.15.5 - github.com/bradleyfalzon/ghinstallation/v2 v2.9.0 + github.com/bradleyfalzon/ghinstallation/v2 v2.9.1-0.20240116154122-7838128b61c6 github.com/chainguard-dev/clog v1.2.3-0.20240118163743-fec25b637dd2 github.com/coreos/go-oidc/v3 v3.9.0 github.com/golang-jwt/jwt/v4 v4.5.0 - github.com/google/go-github/v57 v57.0.0 + github.com/google/go-github/v58 v58.0.0 github.com/hashicorp/golang-lru v1.0.2 github.com/kelseyhightower/envconfig v1.4.0 google.golang.org/api v0.157.0 diff --git a/go.sum b/go.sum index ae8368d..f1a7ef3 100644 --- a/go.sum +++ b/go.sum @@ -20,8 +20,8 @@ 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/blendle/zapdriver v1.3.1 h1:C3dydBOWYRiOk+B8X9IVZ5IOe+7cl+tGOexN4QqHfpE= github.com/blendle/zapdriver v1.3.1/go.mod h1:mdXfREi6u5MArG4j9fewC+FGnXaBR+T4Ox4J2u4eHCc= -github.com/bradleyfalzon/ghinstallation/v2 v2.9.0 h1:HmxIYqnxubRYcYGRc5v3wUekmo5Wv2uX3gukmWJ0AFk= -github.com/bradleyfalzon/ghinstallation/v2 v2.9.0/go.mod h1:wmkTDJf8CmVypxE8ijIStFnKoTa6solK5QfdmJrP9KI= +github.com/bradleyfalzon/ghinstallation/v2 v2.9.1-0.20240116154122-7838128b61c6 h1:uzBv0Ha6Tlixxa+9ClSi2fPdG9ewrjcZ6Nw8FM4zOhs= +github.com/bradleyfalzon/ghinstallation/v2 v2.9.1-0.20240116154122-7838128b61c6/go.mod h1:r4311Hx8+Wfhq1Ng1t2V1Mahjyy/kHbUU6mKCGdixWE= github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM= github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= @@ -92,8 +92,8 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ 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/v58 v58.0.0 h1:Una7GGERlF/37XfkPwpzYJe0Vp4dt2k1kCjlxwjIvzw= +github.com/google/go-github/v58 v58.0.0/go.mod h1:k4hxDKEfoWpSqFlc8LTpGd9fu2KrV1YAa6Hi6FmDNY4= 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 eeb01c8..7b74c76 100644 --- a/pkg/octosts/octosts.go +++ b/pkg/octosts/octosts.go @@ -14,8 +14,9 @@ import ( "github.com/bradleyfalzon/ghinstallation/v2" "github.com/coreos/go-oidc/v3/oidc" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v58/github" lru "github.com/hashicorp/golang-lru" + "google.golang.org/grpc/codes" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" diff --git a/pkg/octosts/trust_policy.go b/pkg/octosts/trust_policy.go index b56f4b4..d4e9653 100644 --- a/pkg/octosts/trust_policy.go +++ b/pkg/octosts/trust_policy.go @@ -6,7 +6,7 @@ import ( "regexp" "github.com/coreos/go-oidc/v3/oidc" - "github.com/google/go-github/v57/github" + "github.com/google/go-github/v58/github" ) type TrustPolicy struct {