mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 03:47:54 +02: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"))
|
w.Write([]byte("Sigstore deployed a broken change. See https://github.com/slsa-framework/slsa-github-generator/issues/1163"))
|
||||||
return
|
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"))
|
w.Write([]byte("OK"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user