diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml new file mode 100644 index 0000000000..7c347cbaab --- /dev/null +++ b/.github/workflows/spelling.yml @@ -0,0 +1,35 @@ +name: Check Spelling + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + spelling: + name: Check Spelling + permissions: + # contents: read + # pull-requests: read + # actions: read + security-events: write + runs-on: ubuntu-latest + steps: + - name: check-spelling + id: spelling + uses: check-spelling/check-spelling@main + with: + # suppress_push_for_open_pull_request: ${{ github.actor != 'dependabot[bot]' && 1 }} + # checkout: true + # check_file_names: 1 + # spell_check_this: check-spelling/spell-check-this@main + # 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