github: actions: add codespell master on push and PRs

pull/571/head
Yaroslav Halchenko 2023-08-03 16:46:40 -04:00 committed by Axel Burri
parent a488096869
commit dac6350b5d
1 changed files with 26 additions and 0 deletions

26
.github/workflows/codespell.yml vendored Normal file
View File

@ -0,0 +1,26 @@
---
name: Codespell
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
codespell:
name: Check for spelling errors
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Codespell
uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
skip: ".git,*.pdf,*.svg"
ignore_words_list: uptodate