Skip to content

About

Run misspell with reviewdog

Topics

Resources

Code of conduct

Stars

102 stars

Watchers

24 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

206 Commits

Folders and files

Repository files navigation

GitHub Action: Run misspell with reviewdog

Docker Image CI depup release GitHub release (latest SemVer) action-bumpr supported

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

sample annotation

Inputs

github_token

Optional. ${{ github.token }} is used by default.

locale

Optional. -locale flag of misspell. [US/UK]

level

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

reporter

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

ignore

Optional. Ignore (-i) a list of comma-separated words. [armor] / [armor,color].

path

Optional. Base directory to run misspell. Same as [path] of find command. Default: .

Directories are separated by lines. e.g.:

path: |
  doc
  src

pattern

Optional. File patterns of target files. Same as -name [pattern] of find command. Default: *

Patterns are separated by lines. e.g.:

pattern: |
  *.py
  *.sh

exclude

Optional. Exclude patterns of target files. Same as -not -path [exclude] of find command. e.g. ./.git/*

Patterns are separated by lines. e.g.:

exclude: |
  ./.git/*
  ./.cache/*

filter_mode

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

fail_level

Optional. If set to none, always use exit code 0 for reviewdog. Otherwise, exit code 1 for reviewdog if it finds at least 1 issue with severity greater than or equal to the given level. Possible values: [none, any, info, warning, error] Default is none.

fail_on_error

Deprecated, use fail_level instead. Optional. Exit code for reviewdog when errors are found [true,false]. Default: false.

Example usage

name: reviewdog
on: [pull_request]
jobs:
  misspell:
    name: runner / misspell
    runs-on: ubuntu-latest
    steps:
      - name: Check out code.
        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
      - name: misspell
        uses: reviewdog/action-misspell@9daa94af4357dddb6fd3775de806bc0a8e98d3e4 # v1.26.3
        with:
          github_token: ${{ secrets.github_token }}
          locale: "US"

About

Run misspell with reviewdog

Topics

Resources

Code of conduct

Stars

102 stars

Watchers

24 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages