Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.54 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.54 KB

GitHub Action: Run misspell with reviewdog

Docker Image CI Release

This action runs misspell with reviewdog on pull requests to improve code review experience.

sample annotation

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

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"