Skip to content

Commit c7cf9b2

Browse files
Floriansimmerchennes
authored andcommitted
Github: Create codespell workflow and codespellignore
1 parent 4430e3e commit c7cf9b2

File tree

2 files changed

+121
-0
lines changed

2 files changed

+121
-0
lines changed

.github/codespellignore

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
aci
2+
ake
3+
aline
4+
alle
5+
alledges
6+
alocation
7+
als
8+
ang
9+
anid
10+
apoints
11+
ba
12+
beginn
13+
behaviour
14+
bloaded
15+
bottome
16+
byteorder
17+
calculater
18+
cancelled
19+
cancelling
20+
cas
21+
cascade
22+
centimetre
23+
childrens
24+
childs
25+
colour
26+
colours
27+
commen
28+
connexion
29+
currenty
30+
dof
31+
doubleclick
32+
dum
33+
eiter
34+
elemente
35+
ende
36+
feld
37+
finde
38+
findf
39+
freez
40+
hist
41+
iff
42+
indicies
43+
initialisation
44+
initialise
45+
initialised
46+
initialises
47+
initialisiert
48+
inout
49+
ist
50+
kilometre
51+
lod
52+
mantatory
53+
methode
54+
metres
55+
millimetre
56+
modell
57+
nd
58+
noe
59+
normale
60+
normaly
61+
nto
62+
numer
63+
oder
64+
ontop
65+
orgin
66+
orginx
67+
orginy
68+
ot
69+
pard
70+
parm
71+
parms
72+
pres
73+
programm
74+
que
75+
recurrance
76+
rougly
77+
seperator
78+
serie
79+
sinc
80+
strack
81+
substraction
82+
te
83+
thist
84+
thru
85+
tread
86+
uint
87+
unter
88+
vertexes
89+
wallthickness
90+
whitespaces

.github/workflows/codespell.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# GitHub Action to automate the identification of common misspellings in text files.
2+
# https://github.com/codespell-project/actions-codespell
3+
# https://github.com/codespell-project/codespell
4+
5+
name: Codespell
6+
on:
7+
pull_request:
8+
9+
jobs:
10+
codespell:
11+
name: Check for spelling errors
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Get changed files
17+
id: changed-files
18+
uses: tj-actions/changed-files@v12.2
19+
20+
- name: List all changed files
21+
run: |
22+
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
23+
echo "$file was changed"
24+
done
25+
26+
- uses: codespell-project/actions-codespell@master
27+
with:
28+
check_filenames: true
29+
ignore_words_file: .github/codespellignore
30+
skip: ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml,./build/
31+
path: ${{ steps.changed-files.outputs.all_changed_files }}

0 commit comments

Comments
 (0)