mirror of
https://github.com/ddworken/hishtory.git
synced 2025-03-13 14:58:17 +01:00
Add SLSA warning for #294
This commit is contained in:
parent
0dc64d79d5
commit
216f2aaddc
@ -293,6 +293,10 @@ func (s *Server) slsaStatusHandler(w http.ResponseWriter, r *http.Request) {
|
||||
w.Write([]byte("Sigstore deployed a broken change. See https://github.com/slsa-framework/slsa-github-generator/issues/1163"))
|
||||
return
|
||||
}
|
||||
if pv.LessThan(shared.ParsedVersion{MajorVersion: 0, MinorVersion: 329}) {
|
||||
w.Write([]byte("SLSA made a non-backwards compatible change. See https://github.com/ddworken/hishtory/issues/294"))
|
||||
return
|
||||
}
|
||||
w.Write([]byte("OK"))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user