Update pkg/cmd/attestation/verification/policy.go
Co-authored-by: Phill MV <phillmv@github.com>
This commit is contained in:
parent
241bb2edd1
commit
4b83d8e73b
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ The following policy criteria will be enforced against all attestations:
|
|||
info := fmt.Sprintf(template, c.PredicateType, c.Certificate.Issuer, c.Certificate.SourceRepositoryOwnerURI)
|
||||
|
||||
if c.Certificate.SourceRepositoryURI != "" {
|
||||
info += fmt.Sprintf("\n- Artifact built in a repository whose URI is %s", c.Certificate.SourceRepositoryURI)
|
||||
info += fmt.Sprintf("\n- Source Repository URI must match %s", c.Certificate.SourceRepositoryURI)
|
||||
}
|
||||
|
||||
if c.Certificate.RunnerEnvironment == GitHubRunner {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue