Add github action to codespell main on push and PRs

This commit is contained in:
Yaroslav Halchenko 2024-04-17 15:54:16 -04:00
parent 4ee97263ed
commit 57b37a2d95

23
.github/workflows/codespell.yml vendored Normal file
View file

@ -0,0 +1,23 @@
# Codespell configuration is within pyproject.toml
---
name: Codespell
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2