From 4a97ff3baf1d52ce5754caf209d86a1f095cc8fe Mon Sep 17 00:00:00 2001 From: Marco Pasqualetti Date: Fri, 22 Nov 2024 14:13:13 +0100 Subject: [PATCH] ci: test spellcheck via reviewdog --- .github/workflows/spell-checking-test.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/spell-checking-test.yml diff --git a/.github/workflows/spell-checking-test.yml b/.github/workflows/spell-checking-test.yml new file mode 100644 index 00000000..c2c6f148 --- /dev/null +++ b/.github/workflows/spell-checking-test.yml @@ -0,0 +1,23 @@ +name: Spell Checker 2 + +on: [pull_request] + +jobs: + spell_checking: + name: runner / LanguageTools + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - uses: reviewdog/action-languagetool@v1 + with: + github_token: ${{ secrets.REVIEWDOG_TOKEN }} + # Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review]. + reporter: 'github-pr-review' + # Change reporter level if you need. + level: 'error' + patterns: '**/*.md **/*.txt **/*.mdx' + #enabled_categories: 'STYLE,PLAIN_ENGLISH,WHITESPACE_RULE,EN_QUOTES,DASH_RULE,WORD_CONTAINS_UNDERSCORE,UPPERCASE_SENTENCE_START,ARROWS,COMMA_PARENTHESIS_WHITESPACE,UNLIKELY_OPENING_PUNCTUATION,SENTENCE_WHITESPACE,EN_UNPAIRED_BRACKETS,PHRASE_REPETITION,PUNCTUATION_PARAGRAPH_END' + disabled_categories: '' + disabled_rules: ''