From 252aa666920ba2cca1f0d3d03b8be17e5b6a0b03 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 5 Mar 2024 18:53:54 -0800 Subject: [PATCH] Add compliance frameworks to spellcheck We get both of these wrong a lot Signed-off-by: Tim Smith --- .github/actions/spelling/line_forbidden.patterns | 16 ++++++++++++++-- .github/actions/spelling/patterns.txt | 1 + 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/actions/spelling/line_forbidden.patterns b/.github/actions/spelling/line_forbidden.patterns index 2ac05140..f0de6ab3 100644 --- a/.github/actions/spelling/line_forbidden.patterns +++ b/.github/actions/spelling/line_forbidden.patterns @@ -1,12 +1,11 @@ # Detect common combinations of valid words that are in fact invalid. # Useful for brand capitalizations - # # Catch placeholder text # -\b[Lo]orem [Ii]psum\ +\b[Ll]orem [Ii]psum\ # PR links left in the release notes \bhttps:\/\/github.com\/mondoohq\/.*\/pull\/\d* @@ -41,6 +40,16 @@ # s.b. Compliance Hub \s[Cc]ompliance hub\b +# +# Compliance Terms +# + +# s.b. SOC 2 +\bSOC2\b + +# s.b. ISO 270001 +\bISO270001\b + # # Industry Terms # @@ -336,6 +345,9 @@ # s.b. CodeStar \bCodestar\b +# s.b. AWS Config +\bAWS config\b + # s.b. Copilot \bCoPilot\b diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt index 7eb4c3cb..7442dac2 100644 --- a/.github/actions/spelling/patterns.txt +++ b/.github/actions/spelling/patterns.txt @@ -89,3 +89,4 @@ aws_secret_access_key\s+\=(\s+)?.+ # score score is valid in MQL docs score score +