Update the docs to deprecate doctor plugin (#328) #46
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Spellcheck | |
on: | |
push: | |
branches: [main] | |
jobs: | |
spell-check: | |
name: Language tool & Misspell check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Run LanguageTool | |
uses: reviewdog/action-languagetool@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review]. | |
reporter: github-pr-check | |
# Change reporter level if you need. | |
level: info | |
language: en-US | |
disabled_categories: 'TYPOS,TYPOGRAPHY,CASING,REPETITIONS_STYLE' | |
disabled_rules: 'WHITESPACE_RULE,EN_QUOTES,DASH_RULE,WORD_CONTAINS_UNDERSCORE,UPPERCASE_SENTENCE_START,ARROWS,COMMA_PARENTHESIS_WHITESPACE,UNLIKELY_OPENING_PUNCTUATION,SENTENCE_WHITESPACE,CURRENCY,EN_UNPAIRED_BRACKETS,PHRASE_REPETITION,PUNCTUATION_PARAGRAPH_END,METRIC_UNITS_EN_US,ENGLISH_WORD_REPEAT_BEGINNING_RULE,DOUBLE_PUNCTUATION,ENGLISH_WORD_REPEAT_RULE,UH_UH_COMMA,UNIT_SPACE,ON_SKYPE' | |
enabled_only: 'false' | |
enabled_rules: '' | |
enabled_categories: '' | |
patterns: | | |
"!helm-chart-parameters.md" | |
"**.md " | |
- name: Run misspell | |
# To perform misspell check even after the language tool test fails | |
if: success() || failure() | |
uses: reviewdog/action-misspell@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
locale: "US" | |
reporter: github-pr-check | |
level: info | |
pattern: "**.md" | |
exclude: | | |
./.git/* | |
./.cache/* |