From 2760e3ea08392081700e2ad27f960256f0c8c5c2 Mon Sep 17 00:00:00 2001 From: Valerio Ageno <51341197+Valerioageno@users.noreply.github.com> Date: Sat, 23 Nov 2024 17:30:05 +0100 Subject: [PATCH] feat(ci): update spellchecker workflow (#143) --- .github/workflows/spell-checking.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/spell-checking.yml b/.github/workflows/spell-checking.yml index 9b14713e..8dd830da 100644 --- a/.github/workflows/spell-checking.yml +++ b/.github/workflows/spell-checking.yml @@ -20,6 +20,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + # Keep this value in order to show the error comments + # also on edited files. + fetch-depth: 2 # If the workflow is triggered by a push use check reporter # @@ -55,7 +59,7 @@ jobs: # Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review]. reporter: ${{ steps.reporter.outputs.name }} # Change reporter level if you need. - level: 'error' + level: 'warning' 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: ''