mirror of
https://github.com/tuono-labs/tuono
synced 2026-07-25 12:52:47 -07:00
a3bcb76105
* 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
22 lines
896 B
YAML
22 lines
896 B
YAML
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: ''
|