From a3bcb761057a2fdf4863ce28db440f2b97f6217f Mon Sep 17 00:00:00 2001 From: Valerio Ageno <51341197+Valerioageno@users.noreply.github.com> Date: Sat, 12 Oct 2024 12:05:45 +0200 Subject: [PATCH] CI: add spell checking pipeline (#30) * ci: add spell checking pipeline * fix: add github to the lookup folders * fix: add patterns rule * refactor: Github action definition * test: introduce spell bug * fix: update spell checker reporter * fix: update action version * feat: remove disabled_categories * feat: remove github token * feat: add fail level to pipeline * fix: error as string * feat: remove disabled rules * feat: add reviewdog_token * feat: change disabled_rules to string * feat: add spell rules * fix: spell categories * Update bug_report.md --- .github/workflows/spell-checking.yml | 21 +++++++++++++++++++++ README.md | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/spell-checking.yml diff --git a/.github/workflows/spell-checking.yml b/.github/workflows/spell-checking.yml new file mode 100644 index 00000000..5c7510ef --- /dev/null +++ b/.github/workflows/spell-checking.yml @@ -0,0 +1,21 @@ +name: Spell Checker + +on: [pull_request] + +jobs: + spell_checking: + name: runner / LanguageTools + runs-on: ubuntu-latest + steps: + - 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: '' diff --git a/README.md b/README.md index 323eed7c..611b5cb8 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,9 @@ ![](https://github.com/Valerioageno/tuono/actions/workflows/rust.yml/badge.svg) ![](https://github.com/Valerioageno/tuono/actions/workflows/typescript.yml/badge.svg) +Adding file to commit history for testing -**Tuono the fastest react framework out there** +**Tuono is the fastest React framework out there** Tuono (Italian word for "thunder", pronounced /2 Oh No/). Why Tuono? Just a badass name.