Skip to content

Improve CI to use ReviewDog to report the AutoCorrect suggestions. #844

Improve CI to use ReviewDog to report the AutoCorrect suggestions.

Improve CI to use ReviewDog to report the AutoCorrect suggestions. #844

Workflow file for this run

name: Autocorrect
on: [pull_request]
jobs:
autocorrect:
name: Check text autocorrect
runs-on: ubuntu-latest
steps:
- name: Check out source
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Exec autocorrect
uses: huacnlee/autocorrect-action@main
with:
use_npm: true
- name: Report ReviewDog
if: failure()
uses: huacnlee/autocorrect-action@main
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.REVIEWDOG_TOKEN }}
with:
use_npm: true
reviewdog: true