Skip to content

Commit

Permalink
Add check-spelling/check-spelling
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref committed Feb 24, 2021
1 parent 2e8d2cb commit 04262a0
Show file tree
Hide file tree
Showing 4 changed files with 150 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/spelling/excludes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ignore$
(?:^|/)(?i)COPYRIGHT
(?:^|/)(?i)LICEN[CS]E
(?:^|/)vendor/
/git/
^\.github/
\.lock$
\.pack$
124 changes: 124 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
api
AQLP
args
argv
arrayify
Authfile
cacheable
caze
chaindown
changelog
ci
circleci
codebase
commandsstop
commitish
commonjs
concat
config
contextualized
conventionalcommits
ctx
cwd
Darcs
Dependabot
dillutes
dirname
doctoc
dripip
dryrun
dsc
execpath
fbf
fd
func
gh
gitbranch
github
gitlog
globals
graphql
homedir
http
ignoreme
Interop
isogit
issuecomment
jasonkuhrt
jetpack
json
JSONCLI
keyof
Kuhrt
lockfile
metadata
namespace
nodefs
nodejs
npm
npmjs
npmrc
npx
oclif
octo
octokit
oid
outerloop
overridable
packagejson
pacman
passthrough
pj
pjd
plugin
png
postpublish
Prefixify
previewtags
prisma
programatically
pstable
qux
readme
realpath
refactor
revparse
scm
sdk
semver
shasha
src
stackoverflow
stderr
stdio
stdout
stringify
svg
symlink
taggerdate
tbc
testname
testv
tmp
tmpdir
toc
todo
tsc
tsconfig
tt
typeahead
typeof
ubuntu
unshallow
unsupport
upsert
url
Username
usr
utils
validator
vprefix
workflow
yarnlock
yarnpkg
yml
2 changes: 2 additions & 0 deletions .github/actions/spelling/patterns.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ignore long runs of a single character:
\b([A-Za-z])\g{-1}{3,}\b
16 changes: 16 additions & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Spell checking
on:
pull_request_target:
push:
issue_comment:
pull_request_review_comment:

jobs:
build:
name: Spell checking
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: check-spelling/[email protected]

0 comments on commit 04262a0

Please sign in to comment.