Skip to content

Commit aa9f17e

Browse files
committed
Transform CVE feed shortcode compliance check to warning
Previously it would cause the build to fail, which could lead to confusing situation since the CVE feed comes from outside of the website and could break the workflow. See related discussion: #38579 (comment)
1 parent 3d850f6 commit aa9f17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/cve-feed.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ $feed := getJSON .Site.Params.cveFeedBucket }}
22
{{ if ne $feed.version "https://jsonfeed.org/version/1.1" }}
3-
{{ errorf "Build Failed. CVE feed does not comply with JSON feed v1.1" }}
3+
{{ warnf "CVE feed shortcode. KEP-3203: CVE feed does not comply with JSON feed v1.1." }}
44
{{ end }}
55
<table class="security-cves">
66
<caption style="caption-side: top;">{{ T "cve_table" }} {{ printf (T "cve_table_date_format_string") ($feed._kubernetes_io.updated_at | time.Format (T "cve_table_date_format")) }}</caption>

0 commit comments

Comments
 (0)