From 7f920d5d2df7638faa800d2bca299bbc13354b55 Mon Sep 17 00:00:00 2001 From: Avital Pinnick Date: Thu, 25 Jul 2024 13:24:37 +0300 Subject: [PATCH] Add warning about GitHub links Closes https://github.com/redhat-documentation/vale-at-red-hat/issues/828 --- .vale/fixtures/RedHat/DoNotUseTerms/testinvalid.adoc | 2 ++ .vale/styles/RedHat/DoNotUseTerms.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.vale/fixtures/RedHat/DoNotUseTerms/testinvalid.adoc b/.vale/fixtures/RedHat/DoNotUseTerms/testinvalid.adoc index 2ef7d2a70..8e6f2454b 100644 --- a/.vale/fixtures/RedHat/DoNotUseTerms/testinvalid.adoc +++ b/.vale/fixtures/RedHat/DoNotUseTerms/testinvalid.adoc @@ -7,6 +7,8 @@ future-proof green yellow blue +https://github.com +https://gitlab.com kerberize kerberized native interface diff --git a/.vale/styles/RedHat/DoNotUseTerms.yml b/.vale/styles/RedHat/DoNotUseTerms.yml index 28bb1bae6..b2937f92b 100644 --- a/.vale/styles/RedHat/DoNotUseTerms.yml +++ b/.vale/styles/RedHat/DoNotUseTerms.yml @@ -7,6 +7,7 @@ message: "%s" swap: # Start each error message with "Do not use ..." # Error messages must be single quoted. + 'https://github.com|https://gitlab.com': 'Do not include links to GitHub or GitLab unless the repository is owned and maintained by Red Hat or you have received explicit approval.' 'ACK(?! flag)': 'Do not use "ACK" as acronym for "acknowledgement". When writing about the acknowledgement flag ("ACK flag") in a TCP packet, use "ACK flag".' 'future-proof': Do not use "future-proof" in a statement about the benefits, characteristics, or performance of a Red Hat product or service.' 'out of the box|out-of-the-box': 'Do not use "out of the box" or "out-of-the-box". Use text that is suitable for the context and the noun to which this adjective applies.'