Skip to content

Spell check in PR

Spell check in PR #17

name: Spellchecking Final
on:
pull_request:
jobs:
codespell:
name: Check spelling with codespell
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8] # Define the Python version here
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install codespell
- name: Check spelling with codespell
run: find . -type f -name "*.md" -exec codespell --ignore-words=.github/workflows/Spell-check-autofix/codespell.txt --builtin clear,rare,informal {} +