Skip to content

Commit e22b916

Browse files
kinowmr-c
authored andcommitted
Adding GH Action spell check to the CI
1 parent 5abc3d3 commit e22b916

File tree

7 files changed

+204
-7
lines changed

7 files changed

+204
-7
lines changed

.github/config/spellcheck.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
matrix:
2+
- name: Markdown
3+
aspell:
4+
lang: en
5+
ignore-case: true
6+
dictionary:
7+
encoding: utf-8
8+
wordlists:
9+
- .github/config/wordlist.txt
10+
pipeline:
11+
- pyspelling.filters.markdown:
12+
- pyspelling.filters.html:
13+
comments: true
14+
attributes:
15+
- title
16+
- alt
17+
ignores:
18+
- :matches(code, pre)
19+
sources:
20+
- '**/*.md'
21+
default_encoding: utf-8

.github/config/wordlist.txt

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
acyclic
2+
amstutz
3+
arvados
4+
auditability
5+
avro
6+
backchannel
7+
backrub
8+
basedir
9+
bnf
10+
bogdan
11+
checkpoint
12+
checkpointing
13+
chilton
14+
cisphobia
15+
classname
16+
commandlinetool
17+
commandlinetools
18+
commonwl
19+
complextype
20+
coreutils
21+
ctbrown
22+
curii
23+
curoverse
24+
cwl
25+
cwltest
26+
cwltool
27+
cwlversion
28+
cyclic
29+
dataflow
30+
dev
31+
dockerrequirement
32+
doubleq
33+
dsl
34+
dusenbery
35+
edu
36+
eg
37+
envvarrequirement
38+
expressionlib
39+
expressiontool
40+
expressiontools
41+
filesystem
42+
freedesktop
43+
gavrilovic
44+
ghose
45+
gitter
46+
gmail
47+
hervé
48+
https
49+
ietf
50+
implementer
51+
implementers
52+
implementor
53+
implementors
54+
initialworkdirrequirement
55+
initialworkdirrequirements
56+
inlinejavascriptrequirement
57+
inplaceupdaterequirement
58+
inputparameter
59+
institut
60+
invocab
61+
iri
62+
jmchilton
63+
json
64+
junit
65+
kaushik
66+
ld
67+
lexicographically
68+
linkmerge
69+
lookahead
70+
maccallum
71+
macos
72+
mebibyte
73+
mebibytes
74+
ménager
75+
metaschema
76+
misgendering
77+
mrc
78+
multipleinputfeaturerequirement
79+
multithreaded
80+
namespace
81+
namespaces
82+
nebojsa
83+
nebojša
84+
nekrutenko
85+
networkaccess
86+
neuro
87+
onlinepubs
88+
opengroup
89+
orcid
90+
osx
91+
outputsource
92+
petermac
93+
pickvalue
94+
posix
95+
pre
96+
preprocess
97+
preprocessed
98+
preprocessing
99+
psu
100+
publically
101+
pvanheus
102+
rdf
103+
recurse
104+
repo
105+
reproducibility
106+
resourcerequirement
107+
routable
108+
runtime
109+
sbgenomics
110+
scatterfeaturerequirement
111+
schemadefrequirement
112+
schemaorg
113+
schemas
114+
secondaryfiles
115+
secondaryfilesdsl
116+
shellcommandrequirement
117+
singleq
118+
softwarepackage
119+
softwarerequirement
120+
soiland
121+
stepinputexpressionrequirement
122+
stian
123+
subdirectory
124+
subprocess
125+
subprocesses
126+
subscope
127+
subscoped
128+
subshell
129+
substep
130+
substring
131+
substrings
132+
subtype
133+
subtypes
134+
subworkflow
135+
subworkflowrequirement
136+
superset
137+
svg
138+
tijanic
139+
tijanić
140+
toc
141+
tooltimelimit
142+
transcode
143+
txt
144+
uc
145+
ucdavis
146+
untrusted
147+
uri
148+
utf
149+
vandewege
150+
virtualenv
151+
walkthrough
152+
wdl
153+
whitespace
154+
xdg
155+
yaml

.github/workflows/spellcheck.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Spellcheck Action
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main, 1.2.1_proposed ]
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
# https://github.com/marketplace/actions/github-spellcheck-action
12+
# To run locally, `pip install pyspelling`, followed by
13+
# `pyspelling -c .github/config/spellcheck.yml`.
14+
name: Spellcheck
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@master
18+
- uses rojopolis/[email protected]
19+
name: Spellcheck
20+
with:
21+
config_path: ../config/spellcheck.yml

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ except as necessary to protect vulnerable people from intentional abuse.
4343
- Publication of non-harassing private communication.
4444

4545
The CWL Project prioritizes marginalized people’s safety over privileged
46-
people’s comfort. The CWL Leadeship Team will not act on complaints regarding:
46+
people’s comfort. The CWL Leadership Team will not act on complaints regarding:
4747

4848
- ‘Reverse’ -isms, including ‘reverse racism,’ ‘reverse sexism,’ and ‘cisphobia’
4949
- Reasonable communication of boundaries, such as “leave me alone,” “go away,” or

CONFORMANCE_TESTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Likewise, please do not test the `path` for `class: File` and `class: Directory`
184184

185185
To add a new conformance test:
186186
1. Ensure the CWL document you have tests the desired feature or aspect.
187-
2. All `CommandLineTool`s need a software container (via `DockerRequirement`) for better reproducibility, preferrably under `hints`.
187+
2. All `CommandLineTool`s need a software container (via `DockerRequirement`) for better reproducibility, preferably under `hints`.
188188
Please limit your container usage to the following:
189189
- `dockerPull: docker.io/alpine:latest`
190190
- `dockerPull: docker.io/bash:4.4`

concepts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ must declare the `cwlVersion` of that document. Implementations must
100100
validate against the document's declared version. Implementations
101101
should allow workflows to reference documents of both newer and older
102102
CWL versions (up to the highest version of CWL supported by that
103-
implementation). Where the runtime enviroment or runtime behavior has
103+
implementation). Where the runtime environment or runtime behavior has
104104
changed between versions, for that portion of the execution an
105-
implementation must provide runtime enviroment and behavior consistent
105+
implementation must provide runtime environment and behavior consistent
106106
with the document's declared version. An implementation must not
107107
expose a newer feature when executing a document that specifies an
108108
older version that does not include that feature.
@@ -376,7 +376,7 @@ produces output, and then terminates.
376376

377377
A **workflow** is a process characterized by multiple subprocess steps,
378378
where step outputs are connected to the inputs of downstream steps to
379-
form a directed acylic graph, and independent steps may run concurrently.
379+
form a directed acyclic graph, and independent steps may run concurrently.
380380

381381
A **runtime environment** is the actual hardware and software environment when
382382
executing a command line tool. It includes, but is not limited to, the

design-documents/conditionals-2019.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ it creates an in-congruence with the existing `linkMerge` operator. Also, during
247247
a) the `linkMerge` operator would operate first and
248248
b) `pickValue` would not recurse into the lists
249249

250-
This makes this proposed syntax mis-leading, since it suggests that `first_non_null` operates before
250+
This makes this proposed syntax misleading, since it suggests that `first_non_null` operates before
251251
`linkMerge`.
252252

253253
For these reason it was decided to have the `pickValue` operator sit at the same level as `linkMerge`
@@ -317,7 +317,7 @@ workflow developer. On the other hand there may be applications where
317317
having to explicitly think about the condition for each case without having
318318
recourse to an automatic fallback can remove sources of bugs.
319319

320-
In programing languages `if-else` constructs utilize the concept of a code block
320+
In programming languages `if-else` constructs utilize the concept of a code block
321321
and the two halves of the `if-else` or the clauses of a `switch` form a collection
322322
of function invocations or commands that are grouped together.
323323

0 commit comments

Comments
 (0)