blob: d6409a1826b4aca9ced8c7ffb84374015837d6aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# Codespell configuration inlined in this workflow (no .codespellrc needed)
---
name: Codespell
on:
push:
branches: ['**']
pull_request:
branches: ['**']
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: codespell-project/codespell-problem-matcher@v1
- name: Codespell
uses: codespell-project/actions-codespell@v2
with:
path: ./docs/
# filenames and hidden files
check_filenames: true
check_hidden: true
# skip list
skip: |
.git
.husky
.vscode
.idea
.venv
venv
node_modules
dist
build
out
coverage
*.lock
*.min.js
*.svg
*.pdf
*.png
*.jpg
package.json
package-lock.json
# Optional: Proper Noun Whitelist File
ignore_words_file: .codespellignore
# Fail CI on errors, set to true to only warn
only_warn: true
|