Skip to content

chore(CI): add AutoCorrect for md file #4

chore(CI): add AutoCorrect for md file

chore(CI): add AutoCorrect for md file #4

# .github/workflows/prettier-check.yml
name: AutoCorrect Markdown Check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
prettier:
name: Check Markdown Formatting with AutoCorrect
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: AutoCorrect
uses: huacnlee/autocorrect-action@v2
- name: Report ReviewDog
if: failure()
uses: huacnlee/autocorrect-action@v2
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
reviewdog: true