Skip to content

Commit

Permalink
💚 Separate language tool
Browse files Browse the repository at this point in the history
Signed-off-by: vankichi <kyukawa315@gmail.com>
  • Loading branch information
vankichi committed Dec 12, 2022
1 parent 043d695 commit eee7809
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/reviewdog-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
- "CHANGELOG.md"

jobs:
languagetool:
languagetool_apis_charts:
name: runner / LanguageTool
runs-on: ubuntu-latest
steps:
Expand All @@ -35,7 +35,25 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
patterns: "**/*.md **/*.md.gotmpl !**/CHANGELOG.md"
patterns: "apis/**/*.md apis/**/*.md.gotmpl chats/**/*.md chats/**/*.md.gotmpl"
level: warning
language: en-US
disabled_rules: "DOUBLE_PUNCTUATION,WORD_CONTAINS_UNDERSCORE,ARROWS,CURRENCY,DASH_RULE,EN_QUOTES,CASING"
disabled_categories: "TYPOS,TYPOGRAPHY,STYLE"
languagetool_docs:
name: runner / LanguageTool
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set git config
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: LanguageTool
uses: reviewdog/action-languagetool@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review
patterns: "**/*.md **/*.md.gotmpl !**/CHANGELOG.md !apis/** !chats/**"
level: warning
language: en-US
disabled_rules: "DOUBLE_PUNCTUATION,WORD_CONTAINS_UNDERSCORE,ARROWS,CURRENCY,DASH_RULE,EN_QUOTES"
Expand Down

0 comments on commit eee7809

Please sign in to comment.