Skip to content

GitHub Action

Run woke with reviewdog

v0 Latest version

Run woke with reviewdog


Run woke with reviewdog

🐶 Run woke on pull requests to detect non-inclusive language in your source code


Copy and paste the following snippet into your .yml file.


- name: Run woke with reviewdog

uses: get-woke/woke-action-reviewdog@v0

Learn more about this action in get-woke/woke-action-reviewdog

Choose a version


Test GitHub release (latest SemVer)

Woke GitHub Actions allow you to execute woke command within GitHub Actions.

This GitHub action uses reviewdog


Inputs to configure the woke GitHub Actions.

Input Default Description
woke-args . (Optional) Additional flags to run woke with (see
woke-version latest (Optional) Release version of woke (defaults to latest version)
fail-on-error false (Optional) Fail the GitHub Actions check for any failures.
reporter github-pr-check (Optional) Reviewdog reporter. See
filter-mode added (Optional) Reviewdog filter mode. See
level error (Optional) Report level for reviewdog [info,warning,error].
reviewdog-flags (Optional) Additional reviewdog flags
workdir . (Optional) Run woke this working directory relative to the root directory.
github-token ${{ github.token }} (Optional) Custom GitHub Access token (ie ${{ secrets.MY_CUSTOM_TOKEN }}).


name: woke
on: [pull_request]
    name: runner / woke
    runs-on: ubuntu-latest
      - uses: actions/checkout@v2
      - uses: get-woke/woke-action-reviewdog@v0
          github-token: ${{ secrets.GITHUB_TOKEN }}
          # Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
          reporter: github-pr-review
          # Change reporter level if you need.
          # GitHub Status Check won't become failure with warning.
          level: warning
          # Enable this to fail the check when violations are found
          # fail-on-error: true




This reporter will create a PR comment with any violations found

reporter: github-pr-review

# Uncomment this to cause the PR check to fail
# otherwise it will still post the comment on violations,
# but the PR check will succeed
fail-on-error: true


NOTE this reporter will not clean up duplicated comments from violations that exist after multiple pushes. This can cause a lot of extra comments. See reviewdog/reviewdog#568



This reporter will create annotations in the "Checks" tab of the PR, but will not comment on the actual PR. This is slightly better than github-pr-review as it doesn't clutter your PR with comments, but you do have to go into the Checks tab to view issues.

reporter: github-pr-check

Checks suite with annotations of violations ex2

PR checks (both will fail on violation with fail-on-error: true) ex3

Filter mode


By default, only added lines will cause reviewdog to annotate/comment on lines that have been added in the PR. See above link for more options.


This application is licensed under the MIT License, you may obtain a copy of it here.