Skip to content

Commit db41de5

Browse files
authored
CI: introduce workflow to check spelling (#568)
Signed-off-by: Kentaro Hayashi <[email protected]>
1 parent e11d29b commit db41de5

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.codespellrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[codespell]
2+
skip = node_modules, _book, images
3+
count =
4+
ignore-words-list = aNULL, userA, followings

.github/workflows/codespell.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Add check with codespell
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
concurrency:
8+
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
spell-check:
13+
name: check spelling with codespell
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-python@v5
18+
with:
19+
python-version: '3.13'
20+
- name: Install codespell
21+
run: pip install codespell
22+
- name: Run codespell
23+
run: codespell

0 commit comments

Comments
 (0)