From c3afb2acb848a443aded97b351519428473a65df Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 29 Sep 2023 11:31:54 -0700 Subject: [PATCH] Update to the latest spellcheck GH Action (#1989) Sync the configs as well Signed-off-by: Tim Smith --- .github/actions/spelling/expect.txt | 24 +++++-------------- .../actions/spelling/line_forbidden.patterns | 7 +++++- .github/actions/spelling/reject.txt | 1 - .github/workflows/spell-check.yaml | 6 ++--- examples/complex.mql.yaml | 2 +- providers-sdk/v1/vault/keyring/keyring.go | 2 +- providers/os/README.md | 3 +-- providers/os/connection/fs/README.md | 5 ++-- providers/os/resources/services/launchd.go | 2 +- 9 files changed, 22 insertions(+), 30 deletions(-) diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index b25d584152..e3a03de799 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -1,20 +1,13 @@ -Acked -activitylog aks -asns Auths autoaccept autoscaler -awsconf -awsp backupconfiguration bigquery -BLOCKLIST cavium cdn certificatechains cmek -cosmosdb cryptokey customresources datapath @@ -30,19 +23,19 @@ hostkeys iap iex ilb -iotedge ingresstls +iotedge +linux loggingservice managedzone mcr messagestoragepolicy mfs +mgroup Mpim nodepool -oci -opc +nullgroup opcplc -opcua Pids postgre pushconfig @@ -51,21 +44,16 @@ resourcegroup Sas serviceprincipals Snat +spdx sph spo sqlserver sshkeys +testutils toplevel tpu uint -vcn -vcns vdcs -vmknics Vtpm vulnerabilityassessmentsettings wil -mgroup -muser -testutils -nullgroup diff --git a/.github/actions/spelling/line_forbidden.patterns b/.github/actions/spelling/line_forbidden.patterns index 2686ef0998..d52a2b673d 100644 --- a/.github/actions/spelling/line_forbidden.patterns +++ b/.github/actions/spelling/line_forbidden.patterns @@ -1,4 +1,4 @@ -# Detect common combinations of valid words that are in fact invalid. +# Detect common combinations of valid words that are in fact invalid. # Useful for brand capitalizations # @@ -9,6 +9,10 @@ \sthe Mondoo Platform\b \sMondoo platform\b +# s.b. Compliance Hub +\scompliance hub\b +\sCompliance hubplatform\b + # # Industry Terms # @@ -98,6 +102,7 @@ # s.b. Red Hat \bRedHat\b +\bRedhat\b # s.b. AlmaLinux \bAlma Linux\b diff --git a/.github/actions/spelling/reject.txt b/.github/actions/spelling/reject.txt index 1653f287cb..122f5ad6be 100644 --- a/.github/actions/spelling/reject.txt +++ b/.github/actions/spelling/reject.txt @@ -10,4 +10,3 @@ Sorce ^untilling$ ^wether.* \w*(?