All Projects → tsuyoshicho → action-textlint

tsuyoshicho / action-textlint

Licence: CC0-1.0 License
Run textlint with reviewdog on pull requests to improve document writing experience.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to action-textlint

textlint-plugin-latex2e
Textlint Plugin LaTeX2ε
Stars: ✭ 55 (+34.15%)
Mutual labels:  textlint
vscode-textlint
marketplace.visualstudio.com/items?itemname=taichi.vscode-textlint
Stars: ✭ 39 (-4.88%)
Mutual labels:  textlint
action-tflint
Run tflint with reviewdog on pull requests to enforce best practices
Stars: ✭ 65 (+58.54%)
Mutual labels:  reviewdog
textlint-rule-stop-words
Textlint rule to find filler words, buzzwords and clichés
Stars: ✭ 21 (-48.78%)
Mutual labels:  textlint
action-tfsec
Run tfsec with reviewdog on pull requests to enforce security best practices
Stars: ✭ 52 (+26.83%)
Mutual labels:  reviewdog
action-rubocop
Run rubocop with reviewdog 🐶
Stars: ✭ 83 (+102.44%)
Mutual labels:  reviewdog
Textlint
The pluggable natural language linter for text and markdown.
Stars: ✭ 2,158 (+5163.41%)
Mutual labels:  textlint
action-hadolint
Run hadolint with reviewdog 🐶
Stars: ✭ 38 (-7.32%)
Mutual labels:  reviewdog
textlint-rule-no-synonyms
同義語を表記ゆれをチェックするtextlintルール
Stars: ✭ 18 (-56.1%)
Mutual labels:  textlint
analyze-desumasu-dearu
文の敬体(ですます調)、常体(である調)を解析するJavaScriptライブラリ
Stars: ✭ 15 (-63.41%)
Mutual labels:  textlint
action-brakeman
Run brakeman with reviewdog 🐶
Stars: ✭ 22 (-46.34%)
Mutual labels:  reviewdog
action-languagetool
Run languagetool with reviewdog 🐶
Stars: ✭ 24 (-41.46%)
Mutual labels:  reviewdog
action-ktlint
Run Ktlint with reviewdog
Stars: ✭ 41 (+0%)
Mutual labels:  reviewdog
action-misspell
Run misspell with reviewdog
Stars: ✭ 67 (+63.41%)
Mutual labels:  reviewdog
action-shellcheck
Run shellcheck with reviewdog
Stars: ✭ 64 (+56.1%)
Mutual labels:  reviewdog
vscode-linter
Extension for code linting, all in one package. New linters can be easily added through an extension framework.
Stars: ✭ 47 (+14.63%)
Mutual labels:  textlint
action-eslint
Run eslint with reviewdog
Stars: ✭ 173 (+321.95%)
Mutual labels:  reviewdog
playground
textlint online playground.
Stars: ✭ 13 (-68.29%)
Mutual labels:  textlint
textlint-rule-eslint
textlint rule integrate with ESLint.
Stars: ✭ 12 (-70.73%)
Mutual labels:  textlint
textlint-ja
textlintの日本語コミュニティ/ルールのアイデア
Stars: ✭ 41 (+0%)
Mutual labels:  textlint

GitHub Action: Run textlint with reviewdog

notice

action-textlint use textlint within npm ecosystem.

detail

Release

This action runs textlint with reviewdog on pull requests to improve text review experience.

based on reviewdog/action-vint

github-pr-check example github-pr-review example

Notice: This action is composition action. It need npm ci.

You accept below one:

  • Your workflow manually setup to run npm ci.
  • This action automatic run npm ci.

Inputs

github_token

Required. Default is ${{ github.token }}.

level

Optional. Report level for reviewdog [info,warning,error]. It's same as -level flag of reviewdog.

reporter

Reporter of reviewdog command [github-pr-check,github-check,github-pr-review]. Default is github-pr-review. It's same as -reporter flag of reviewdog.

github-pr-review can use Markdown and add a link to rule page in reviewdog reports.

filter_mode

Optional. Filtering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is added.

fail_on_error

Optional. Exit code for reviewdog when errors are found [true,false] Default is false.

reviewdog_flags

Optional. Additional reviewdog flags

textlint_flags

textlint arguments (i.e. target dir:doc/*)

Customizes

.textlintrc put in your repo. And need textlint included in project package.json .

Example usage

.github/workflows/reviewdog.yml

name: reviewdog
on: [pull_request]
jobs:
  textlint:
    name: runner / textlint
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          submodules: true
      - name: Setup node/npm
        uses: actions/setup-node@v1
        with:
          node-version: '15'
      - name: textlint-github-pr-check
        uses: tsuyoshicho/action-textlint@v3
        with:
          github_token: ${{ secrets.github_token }}
          reporter: github-pr-check
          textlint_flags: "doc/**"
      - name: textlint-github-check
        uses: tsuyoshicho/action-textlint@v3
        with:
          github_token: ${{ secrets.github_token }}
          reporter: github-check
          textlint_flags: "doc/**"
      - name: textlint-github-pr-review
        uses: tsuyoshicho/action-textlint@v3
        with:
          github_token: ${{ secrets.github_token }}
          reporter: github-pr-review
          textlint_flags: "doc/**"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].