Skip to content

Commit 52ef56f

Browse files
committed
Add check-spelling/check-spelling
Signed-off-by: Josh Soref <[email protected]>
1 parent f2110fa commit 52ef56f

File tree

4 files changed

+153
-0
lines changed

4 files changed

+153
-0
lines changed

.github/actions/spelling/excludes.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
ignore$
2+
(?:^|/)(?i)COPYRIGHT
3+
(?:^|/)(?i)LICEN[CS]E
4+
(?:^|/)vendor/
5+
/git/
6+
^\.github/
7+
\.lock$
8+
\.pack$

.github/actions/spelling/expect.txt

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
api
2+
AQLP
3+
args
4+
argv
5+
arrayify
6+
Authfile
7+
cacheable
8+
caze
9+
chaindown
10+
changelog
11+
ci
12+
circleci
13+
codebase
14+
commandsstop
15+
commitish
16+
commonjs
17+
concat
18+
config
19+
contextualized
20+
conventionalcommits
21+
ctx
22+
cwd
23+
Darcs
24+
Dependabot
25+
dillutes
26+
dirname
27+
doctoc
28+
dripip
29+
dryrun
30+
dsc
31+
execpath
32+
fbf
33+
fd
34+
func
35+
gh
36+
gitbranch
37+
github
38+
gitlog
39+
globals
40+
graphql
41+
homedir
42+
http
43+
ignoreme
44+
Interop
45+
isogit
46+
issuecomment
47+
jasonkuhrt
48+
jetpack
49+
json
50+
JSONCLI
51+
keyof
52+
Kuhrt
53+
lockfile
54+
metadata
55+
namespace
56+
nodefs
57+
nodejs
58+
npm
59+
npmjs
60+
npmrc
61+
npx
62+
oclif
63+
octo
64+
octokit
65+
oid
66+
outerloop
67+
overridable
68+
packagejson
69+
pacman
70+
passthrough
71+
pj
72+
pjd
73+
plugin
74+
png
75+
postpublish
76+
Prefixify
77+
previewtags
78+
prisma
79+
programatically
80+
pstable
81+
qux
82+
readme
83+
realpath
84+
refactor
85+
revparse
86+
scm
87+
sdk
88+
semver
89+
shasha
90+
src
91+
stackoverflow
92+
stderr
93+
stdio
94+
stdout
95+
stringify
96+
svg
97+
symlink
98+
taggerdate
99+
tbc
100+
testname
101+
testv
102+
tmp
103+
tmpdir
104+
toc
105+
todo
106+
tsc
107+
tsconfig
108+
tt
109+
typeahead
110+
typeof
111+
ubuntu
112+
unshallow
113+
unsupport
114+
upsert
115+
url
116+
Username
117+
usr
118+
utils
119+
validator
120+
vprefix
121+
workflow
122+
yarnlock
123+
yarnpkg
124+
yml

.github/actions/spelling/patterns.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# ignore long runs of a single character:
2+
\b([A-Za-z])\g{-1}{3,}\b

.github/workflows/spelling.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Spell checking
2+
on:
3+
pull_request_target:
4+
push:
5+
issue_comment:
6+
pull_request_review_comment:
7+
8+
jobs:
9+
build:
10+
name: Spell checking
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/[email protected]
14+
with:
15+
ref: ${{ github.event.pull_request.head.sha }}
16+
fetch-depth: 0
17+
- uses: check-spelling/[email protected]
18+
with:
19+
experimental_apply_changes_via_bot: 1

0 commit comments

Comments
 (0)