From 8bbc7be54221aec01f489260fbbfdf65fb67caa6 Mon Sep 17 00:00:00 2001 From: Brett Terpstra Date: Tue, 11 Oct 2022 12:43:06 -0500 Subject: [PATCH] Updating repolinter.json to require Oracle disclaimer --- repolinter.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/repolinter.json b/repolinter.json index fe78f33..762dc26 100644 --- a/repolinter.json +++ b/repolinter.json @@ -12,6 +12,18 @@ } } }, + "disclaimer-present" : { + "level": "error", + "rule": { + "type": "file-contents", + "options": { + "globsAll": ["README*"], + "noCase": true, + "fail-on-non-existent": true, + "content": "ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND" + } + } + }, "license-file-exists" : { "level": "error", "rule": { @@ -42,4 +54,4 @@ } } } -} \ No newline at end of file +}