Skip to content

Commit f50ed97

Browse files
committed
simplified and more efficient regex to match just whitespace in front of description:
1 parent ad85162 commit f50ed97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chart-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"properties": {
77
"artifacthub.io/changes": {
88
"description": "check kind of changes (first change only)",
9-
"pattern": "kind: \"?(added|changed|deprecated|removed|fixed|security)\"?(.|\\r?\\n)*description:"
9+
"pattern": "kind: \"?(added|changed|deprecated|removed|fixed|security)\"?\\s*?description:"
1010
}
1111
}
1212
}

0 commit comments

Comments
 (0)