dsp-testing/Check Spelling

Spell check code and commits

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Nov 27, 2023
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: dsp-testing/check-spelling@26b46adbdebd5dd0b34c7155113d50c40f43fb22 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
GITHUB_TOKENThe GITHUB_TOKEN secretyes${{ github.token }}
bucketContainer for spelling configurationno
projectFolder/Branch within bucket containing spelling configurationno
configSpelling configuration directoryno.github/actions/spelling
experimental_pathDirectory root to check for spelling (note that bucket/project/config are independent of this)no.
dictionary_urlLocation of dictionary (if you aren't providing one in your repository)nohttps://raw.githubusercontent.com/check-spelling/check-spelling/dictionary-$DICTIONARY_VERSION/dict.txt
dictionary_versionVersion of the dictionary (only used if the url includes $DICTIONARY_VERSION)no20200211
debugDebugno
experimental_apply_changes_via_bot(Experimental) Allow users to quote-reply to the bot comment to update the PRno0
experimental_parallel_jobsNumber of CPUs available for running checksno2
post_commentPost comment with reportno1
capture_output_unknown_wordsno""
capture_output_stale_wordsno""
capture_output_skipped_filesno""
dictionary_source_prefixesJSON map of prefixes for dictionary urlsno{"cspell": "https://raw.githubusercontent.com/check-spelling/cspell-dicts/v20230509/dictionaries/"}
extra_dictionariesSpace delimited list of URLs (or `prefix:`+path) to additional word listsno""
check_extra_dictionariesCompare unknown tokens against these dictionaries and suggest if applicablenocspell: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 cspell:html/dict/html.txt cspell:html/src/svg.txt cspell:java/src/java-terms.txt cspell:java/src/java.txt cspell:k8s/dict/k8s.txt cspell:latex/dict/latex.txt cspell:latex/samples/sample-words.txt cspell:lisp/lisp.txt cspell:lorem-ipsum/dictionary.txt cspell:lua/dict/lua.txt cspell:mnemonics/src/mnemonics.txt cspell:monkeyc/src/monkeyc_keywords.txt cspell:node/dict/node.txt cspell:npm/dict/npm.txt cspell:php/dict/php.txt cspell:powershell/dict/powershell.txt cspell:public-licenses/src/additional-licenses.txt cspell:public-licenses/src/generated/public-licenses.txt cspell:python/src/additional_words.txt cspell:python/src/common/extra.txt cspell:python/src/python/python-lib.txt cspell:python/src/python/python.txt cspell:r/src/r.txt cspell:redis/dict/redis.txt cspell:ruby/dict/ruby.txt cspell:rust/dict/rust.txt cspell:scala/dict/scala.txt cspell:shell/dict/shell-all-words.txt cspell:software-terms/dict/softwareTerms.txt cspell:software-terms/dict/webServices.txt cspell:sql/src/sql.txt cspell:sql/src/tsql.txt cspell:svelte/dict/svelte.txt cspell:swift/src/swift.txt cspell:typescript/dict/typescript.txt
extra_dictionary_limitLimit the number of suggested extra dictionaries.no5
event_aliasesTry to treat a GitHub event "a" as GitHub event "b" (JSON map). If this flag was available before this tool recognized `pull_request_target`, `{"pull_request_target":"pull_request"}` would have mapped it to `pull_request`.no""
shortest_wordShortest wordno3
longest_wordLongest wordno""
experimental_commit_noteIf set, commit updates to expect automatically with this noteno""
suppress_push_for_open_pull_requestIf set, do not do work in response to `push` if there is an open `pull` request to the repository for the branch (this assumes there's a `pull_request_target` event configured).no""
report_title_suffixSuffix for report title (useful if you are using a matrix strategy or are using experimental_path)no""
only_check_changed_filesIf set, only check files changed since the last pushno""
custom_taskRun an internal task instead of responding to a GitHub event. Values: "comment"no""
internal_state_directoryUsed for passing internal state from the (default) check mode to the comment moduleno""
check_file_namesSpell check file pathsno""
check_commit_messagesList of extra text to check (latest `commit` message, messages for pending `commits`, PR `title`, PR `description`)no""
anonymize_secpoll_sourcePerform secpoll queries via a public dns serverno""
ignore_security_advisorySet to the value of the current security advisory to accept the reported risk -- value must match -- do not set if there is no current advisoryno""
largest_fileFile size limitno1048576
unknown_word_limitOnly report an unknown word this many timesno5
warningsList of events that are warnings (items that are neither warnings nor notices will result in an :x:)nobad-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
noticesList of events that are notices (items that are neither warnings nor notices will result in an :x:)nocandidate-pattern
quit_without_errorSuppress failure code exit code -- it will be available via outputs.result_codeno""
spell_check_thisRepository with default configuration to use if no configuration is found in a .github/actions/spelling directoryno""
ssh_keyKey for checking out / pushing to updates (and trigger workflow cascades)no""
checkoutWhether to check out a repositoryno""
taskTask to perform (spelling, comment, ...)no""
disable_checksSome heuristics might not do what you want, it may be possible to suppress themno""
alternate_engineAlternate engine to useno""
alternate_engine_keyssh key to retrieve alternate engineno""
use_sarifPublish Sarif reportno""
use_magic_fileUse magic file to skip binary filesno""
caller_containerHack for nektos/act - pass the outputs.docker_container to give check-spelling a way to retrieve data it needs to report a commentno
candidate_example_limitControl the number of examples shown for candidate patternsno3
summary_tableProvide item table (paths, content)no1
ignore-patternWord Splitter Ignore Patternno[^a-zA-Z']
upper-patternWord Splitter Upper Patternno[A-Z]
lower-patternWord Splitter Lower Patternno[a-z]
not-lower-patternWord Splitter Not Lower Patternno[^a-z]
not-upper-or-lower-patternWord Splitter Not Upper or Lower Patternno[^A-Za-z]
punctuation-patternWord Splitter Punctuation Patternno'
report-timingReport processing time for filesno""
cache-dictionariesCache dictionariesno1
namedescription
unknown_wordsUnrecognized words (should be added to expect.txt)
stale_wordsStale words (should be removed from expect.txt) as an output
skipped_filesSkipped files (could be added to excludes.txt)
suggested_dictionariesSuggested dictionaries (could be added to extra_dictionaries)
warningsWarnings
internal_state_directoryUsed for passing internal state from the (default) check mode to the comment module
result_codeResult (indicates unrecognized words were found or comment needs to be collapsed)
followupNext task
docker_containerHack for nektos/act - pass to inputs.caller_container to give check-spelling a way to retrieve data it needs to report a comment