mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-17 02:50:49 +01:00
Disable SLSA verification of the branch to fix update flow
This commit is contained in:
parent
be6ccbbcc6
commit
65bbb40732
@ -57,23 +57,16 @@ func verify(provenance []byte, artifactHash, source, branch, versionTag string)
|
||||
}
|
||||
|
||||
// Verify the branch.
|
||||
if err := pkg.VerifyBranch(env, branch); err != nil {
|
||||
return err
|
||||
}
|
||||
// TODO: This started failing for some reason? base_ref was null
|
||||
// if err := pkg.VerifyBranch(env, branch); err != nil {
|
||||
// return err
|
||||
// }
|
||||
|
||||
// Verify the tag.
|
||||
if err := pkg.VerifyTag(env, versionTag); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// TODO
|
||||
// Verify the versioned tag.
|
||||
// if versiontag != nil {
|
||||
// if err := pkg.VerifyVersionedTag(env, *versiontag); err != nil {
|
||||
// return err
|
||||
// }
|
||||
// }
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user