Skip to content

Commit bba056e

Browse files
committed
add codespell.yml
1 parent 3fb29c4 commit bba056e

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.codespellignore

Whitespace-only changes.

.github/workflows/codespell.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Codespell configuration is within pyproject.toml
2+
---
3+
name: Codespell
4+
5+
on:
6+
push:
7+
branches: [ master ]
8+
pull_request:
9+
branches: [ master ]
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
codespell:
16+
name: Check for spelling errors
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
- name: Annotate locations with typos
23+
uses: codespell-project/codespell-problem-matcher@v1
24+
- name: Codespell
25+
uses: codespell-project/actions-codespell@v2
26+
with:
27+
ignore_words_file: .codespellignore

0 commit comments

Comments
 (0)