Skip to content

Commit d507dcc

Browse files
committed
ci: add codespell action
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent a1fde7f commit d507dcc

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/CodeSpell.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: codespell
2+
3+
on:
4+
pull_request:
5+
# Allows you to run this workflow manually from the Actions tab
6+
workflow_dispatch:
7+
jobs:
8+
codespell:
9+
name: Check for spelling errors
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
# See: https://github.com/codespell-project/actions-codespell/blob/master/README.md
17+
- name: Spell check
18+
uses: codespell-project/actions-codespell@master
19+
with:
20+
check_filenames: true
21+
check_hidden: true
22+
# In the event of a false positive, add the word in all lower case to this file:
23+
ignore_words_file: ./CI/codespell/.codespellignore
24+
skip: ./.git,./Drivers/,./Middlewares

CI/codespell/.codespellignore

Whitespace-only changes.

0 commit comments

Comments
 (0)