Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
Signed-off-by: Meredith Lancaster <[email protected]>
  • Loading branch information
malancas committed Nov 1, 2024
1 parent a6d15b4 commit bb1584b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmd/attestation/verify/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ func newEnforcementCriteria(opts *Options) (verification.EnforcementCriteria, er
c.Certificate.SourceRepositoryOwnerURI = fmt.Sprintf("https://github.com/%s", opts.Owner)
}

// If the OIDCIssuer option has been set, use that custom value
// Otherwise check if tenant is provided, select the appropriate default based on that
// if issuer is anything other than the default, use the user-provided value;
// otherwise, select the appropriate default based on the tenant
if opts.OIDCIssuer != verification.GitHubOIDCIssuer {
c.Certificate.Issuer = opts.OIDCIssuer
} else {
Expand Down

0 comments on commit bb1584b

Please sign in to comment.