Add action to check spelling for PRs

This commit is contained in:
Alicia Sykes 2022-07-24 13:00:08 +01:00 committed by GitHub
parent e17a5ab498
commit df50ed1f42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
.github/workflows/spell-check.yml vendored Normal file
View file

@ -0,0 +1,20 @@
# Spell check newly added content, when PR opened and, put typo list as comment
name: ✏️ Spell Check
on: [pull_request]
jobs:
misspell:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Run Spell Check 📝
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
locale: US
level: info
reporter: github-pr-review
path: README.md
filter_mode: added
fail_on_error: false