From c96fb7c553a33f68d8ea54cfb21e086a44c6cb4f Mon Sep 17 00:00:00 2001 From: Zach Steindler Date: Tue, 9 Apr 2024 17:34:45 -0400 Subject: [PATCH] Updates from linter feedback Signed-off-by: Zach Steindler --- go.mod | 2 +- pkg/cmd/attestation/verify/policy.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index e779ae75f..ab4d519a2 100644 --- a/go.mod +++ b/go.mod @@ -24,7 +24,6 @@ require ( github.com/hashicorp/go-multierror v1.1.1 github.com/hashicorp/go-version v1.3.0 github.com/henvic/httpretty v0.1.3 - github.com/in-toto/in-toto-golang v0.9.0 github.com/joho/godotenv v1.5.1 github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 github.com/mattn/go-colorable v0.1.13 @@ -97,6 +96,7 @@ require ( github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-retryablehttp v0.7.5 // indirect github.com/hashicorp/hcl v1.0.0 // indirect + github.com/in-toto/in-toto-golang v0.9.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/itchyny/gojq v0.12.15 // indirect github.com/itchyny/timefmt-go v0.1.5 // indirect diff --git a/pkg/cmd/attestation/verify/policy.go b/pkg/cmd/attestation/verify/policy.go index b3d8448f5..f96ca4e8a 100644 --- a/pkg/cmd/attestation/verify/policy.go +++ b/pkg/cmd/attestation/verify/policy.go @@ -11,7 +11,7 @@ import ( ) const ( - GitHubOIDCIssuer = "https://token.actions.githubusercontent.com" + GitHubOIDCIssuer = "https://token.actions.githubusercontent.com" // represents the GitHub hosted runner in the certificate RunnerEnvironment extension GitHubRunner = "github-hosted" )