28 lines
601 B
YAML
28 lines
601 B
YAML
|
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: Annotate locations with typos
|
||
|
uses: "https://github.com/codespell-project/codespell-problem-matcher@v1"
|
||
|
- name: Codespell
|
||
|
uses: "https://github.com/codespell-project/actions-codespell@v2"
|
||
|
with:
|
||
|
check_filenames: true
|
||
|
check_hidden: true
|
||
|
exclude_file: vendor/
|