Skip to content

Commit

Permalink
accept the true type
Browse files Browse the repository at this point in the history
Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
  • Loading branch information
ramonpetgrave64 committed Jun 21, 2024
1 parent 5b59f8b commit c01c789
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions verifiers/internal/gha/provenance_forgeable.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,7 @@ func verifyV02BuildConfig(prov iface.Provenance) error {
return nil
}

func verifyNpmCLIGithubActionsV1SystemParameters(prov iface.Provenance, workflow *WorkflowIdentity) error {
prov, ok := prov.(*slsav1.NpmCLIGithubActionsProvenance)
if !ok {
return nil
}
func verifyNpmCLIGithubActionsV1SystemParameters(prov *slsav1.NpmCLIGithubActionsProvenance, workflow *WorkflowIdentity) error {
sysParams, err := prov.GetSystemParameters()
if err != nil {
return err
Expand Down

0 comments on commit c01c789

Please sign in to comment.