.github/workflows/spell-check.yml

20 lines · 603 bytes

 1# Spell check newly added content, when PR opened and, put typo list as comment
 2name: ✏️ Spell Check
 3on: [pull_request]
 4jobs:
 5  misspell:
 6    name: runner / misspell
 7    runs-on: ubuntu-latest
 8    steps:
 9      - name: Checkout 🛎️
10        uses: actions/checkout@v2
11      - name: Run Spell Check 📝
12        uses: reviewdog/action-misspell@v1
13        with:
14          github_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
15          locale: US
16          level: info
17          reporter: github-pr-review
18          path: .
19          filter_mode: added
20          fail_on_error: false