This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Spelling | ||
on: | ||
pull_request: | ||
paths: | ||
- 'pages/**' | ||
- '*.mdx' | ||
jobs: | ||
spelling: | ||
name: Check Spelling | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
- name: Debug Environment | ||
run: | | ||
echo "GITHUB_ACTION_PATH: $GITHUB_ACTION_PATH" | ||
echo "This is the real path: $(realpath "$GITHUB_ACTION_PATH")" | ||
echo "Current directory: $(pwd)" | ||
- name: Check Spelling | ||
id: spelling | ||
uses: check-spelling/check-spelling@main | ||
with: | ||
suppress_push_for_open_pull_request: 1 | ||
checkout: true | ||
check_file_names: 1 | ||
spell_check_this: check-spelling/spell-check-this@prerelease | ||
post_comment: 0 | ||
use_magic_file: 1 | ||
report-timing: 1 | ||
warnings: bad-regex,binary-file,deprecated-feature,large-file,limited-references,no-newline-at-eof,noisy-file,non-alpha-in-dictionary,token-is-substring,unexpected-line-ending,whitespace-in-dictionary,minified-file,unsupported-configuration,no-files-to-check | ||
experimental_apply_changes_via_bot: 1 | ||
use_sarif: 1 | ||
extra_dictionary_limit: 20 | ||
extra_dictionaries: cspell:software-terms/dict/softwareTerms.txt | ||
config: .github/actions/spelling | ||
experimental_path: . | ||
dictionary_url: https://raw.githubusercontent.com/check-spelling/check-spelling/dictionary-20200211/dict.txt | ||
dictionary_version: 20200211 | ||
experimental_parallel_jobs: 2 | ||
dictionary_source_prefixes: '{"cspell": "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/"}' | ||
check_extra_dictionaries: | | ||
cspell:ada/dict/ada.txt | ||
cspell:aws/aws.txt | ||
cspell:clojure/src/clojure.txt | ||
cspell:companies/src/companies.txt | ||
cspell:cpp/src/compiler-clang-attributes.txt | ||
cspell:cpp/src/compiler-gcc.txt | ||
cspell:cpp/src/compiler-msvc.txt | ||
cspell:cpp/src/ecosystem.txt | ||
cspell:cpp/src/lang-jargon.txt | ||
cspell:cpp/src/lang-keywords.txt | ||
cspell:cpp/src/people.txt | ||
cspell:cpp/src/stdlib-c.txt | ||
cspell:cpp/src/stdlib-cerrno.txt | ||
cspell:cpp/src/stdlib-cmath.txt | ||
cspell:cpp/src/stdlib-cpp.txt | ||
cspell:cpp/src/template-strings.txt | ||
cspell:cryptocurrencies/cryptocurrencies.txt | ||
cspell:csharp/csharp.txt | ||
cspell:css/dict/css.txt | ||
cspell:dart/src/dart.txt | ||
cspell:django/dict/django.txt | ||
cspell:django/requirements.txt | ||
cspell:docker/src/docker-words.txt | ||
cspell:dotnet/dict/dotnet.txt | ||
cspell:elixir/dict/elixir.txt | ||
cspell:filetypes/filetypes.txt | ||
cspell:fonts/fonts.txt | ||
cspell:fullstack/dict/fullstack.txt | ||
cspell:gaming-terms/dict/gaming-terms.txt | ||
cspell:golang/dict/go.txt | ||
cspell:haskell/dict/haskell.txt | ||
cspell:html-symbol-entities/entities.txt | ||
notices: candidate-pattern | ||
summary_table: 1 | ||
ignore-pattern: '[^a-zA-Z\']' | ||
upper-pattern: '[A-Z]' | ||
lower-pattern: '[a-z]' | ||
not-lower-pattern: '[^a-z]' | ||
not-upper-or-lower-pattern: '[^A-Za-z]' | ||
punctuation-pattern: "'" | ||
cache-dictionaries: 1 |