Skip to content

Commit

Permalink
Update the spellcheck workflow with the org dictionary (#39)
Browse files Browse the repository at this point in the history
Update things to use the main mondoo dictionary

Signed-off-by: Tim Smith <[email protected]>

Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 authored Oct 24, 2022
1 parent 646cb67 commit 474dcd9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
6 changes: 1 addition & 5 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
github
hashicorp
Terraform
terraform
cicd

8 changes: 0 additions & 8 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
buildx
checkbox
ghcr
Hashi
KUBECONFIG
Kubernetes
mondoo
mondoohq
Mozilla
myapp
6 changes: 6 additions & 0 deletions .github/actions/spelling/line_forbidden.patterns
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
# s.b. GitLab
\bGitlab\b

# s.b. EventBridge
\bEventbridge\b

# s.b. CloudWatch
\bCloudwatch\b

# s.b. JavaScript
\bJavascript\b

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/spell-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@ jobs:
suppress_push_for_open_pull_request: 1
checkout: true
post_comment: 0
dictionary_source_prefixes: '{"mondoo": "https://raw.githubusercontent.com/mondoohq/spellcheck-dictionary/main/", "cspell": "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20220816/dictionaries/"}'
extra_dictionaries: cspell:aws/aws.txt
cspell:filetypes/filetypes.txt
cspell:software-terms/softwareTerms.txt
cspell:companies/companies.txt
cspell:software-terms/src/software-terms.txt
cspell:software-terms/src/software-tools.txt
cspell:companies/src/companies.txt
mondoo:mondoo_dictionary.txt

comment:
name: Report
Expand Down

0 comments on commit 474dcd9

Please sign in to comment.