GitHub Action: Run misspell with reviewdog
This action runs misspell with reviewdog on pull requests to improve code review experience.
Inputs
github_token
Required. Must be in form of github_token: ${{ secrets.github_token }}
'.
locale
Optional. -locale flag of misspell. (US/UK)
level
Optional. Report level for reviewdog [info,warning,error].
It's same as -level
flag of reviewdog.
reporter
Optional. Reporter of reviewdog command [github-pr-check,github-pr-review].
It's same as -reporter
flag of reviewdog.
Example usage
.github/workflows/reviewdog.yml
name: reviewdog
on: [pull_request]
jobs:
misspell:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- name: Check out code.
uses: actions/checkout@v1
- name: misspell
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
locale: "US"