Set up spell-checking action

This commit is contained in:
Josh Soref 2020-04-06 16:30:52 -04:00
parent 68fe3f4451
commit 5a773de6d6
4 changed files with 314 additions and 0 deletions

2
.github/actions/spelling/excludes.txt vendored Normal file
View File

@ -0,0 +1,2 @@
(?:^|/)go\.(?:mod|sum)$
^\.github/actions/spell-check/

291
.github/actions/spelling/expect.txt vendored Normal file
View File

@ -0,0 +1,291 @@
aacaaaa
aacaaaaa
ABCDEFGHIJKLMNOPQRSTUVWXY
Abkh
acmedb
acmedns
adduser
afrom
allowfrom
alphalen
amd
api
apk
args
asciicast
asciinema
Astring
Atoi
atxt
autocert
backend
bbd
bcrypt
bdata
blog
buildcache
certbot
certcfg
certmagic
certs
cfg
CGO
Changelog
Chmod
chown
ci
cidr
cidrslice
cmp
cn
cname
config
connectionstring
containous
cors
corsorigins
covermode
coverprofile
createdb
cron
Crontab
cslice
CSV
ctx
dbcfg
dbsettings
dbuser
dcc
Debugf
deeplinks
dns
dnscfg
dnsopts
DNSSEC
dnsserver
dockerfile
doesnotexist
domainiwantcertfor
drecs
DYgcu
eabcdb
eba
edns
EDNSA
EDNSBADVERS
ek
ENTRYPOINT
erikstmartin
errmsg
errored
Errorf
errstr
exitval
Fatalf
fef
Fqdn
fullchain
fulldomain
func
gavv
gcc
gecos
generalcfg
github
githubusercontent
goacmedns
goarch
golang
golangci
golint
google
googleapis
gopath
goreleaser
goreportcard
goroutines
gotmp
goveralls
gz
Hoikkala
hostname
http
httpapi
httpapicfg
httpexpect
httprouter
httptest
idk
Ikcwo
INET
insversion
IOE
ioutil
ip
iplist
IPv
Jcja
jetstack
JGv
joohoi
joona
json
julienschmidt
JYNEOCe
koesie
komuw
kuori
lego
legolog
len
letsencrypt
letsencryptstaging
linux
lmao
localhost
logconfig
logfile
logformat
loghook
loglevel
logrus
logrustest
logtype
logwriter
magicconf
mattn
mholt
middleware
miekg
mkdir
MQ
musl
Mutex
nanswer
Neilpang
nevergonnagiveyouup
newreq
noauth
noexec
nonauth
NONINFRINGEMENT
notarealegine
Notfound
nsadmin
nsname
NTj
NXDOMAIN
opensource
Params
Passthrough
passwd
pb
pem
pgsql
placeholders
png
postgre
postgresql
Println
privkey
psql
Ptr
pw
pyacmedns
pypi
Qclass
qtype
rcode
README
recordtype
Refactored
regexp
remoteaddr
resolv
resultrows
ri
rmbolger
rowid
rr
Rrtype
rtxt
shogo
shoulderror
sirupsen
SNI
soa
soarr
Sourcecode
Sprintf
sql
sqlite
sqlmock
src
srv
stdlog
stdout
Stmt
strconv
subdomain
sudo
svg
syscall
systemctl
systemd
tcp
tdb
testcfg
testdb
Tful
timenow
tld
tls
tmp
TMPDIR
tmpfile
tmpfs
TODO
toml
tooshortfortxt
tooshortpass
traefik
Ttl
txts
txtval
ubuntu
udp
uint
umask
umount
uname
unicode
Unmarshal
unmarshall
unparseable
upd
URL
username
usr
utf
uuid
UUIDv
vagrantfile
Vals
virtualbox
Vjl
vm
vnet
webprofusion
whitelist
wildcards
WORKDIR
www
Xa
XAmp
xbut
xenolf
xzf
YAML
yml
yourdomain
Zabcdefghijklmnopqrstuvwxyz

6
.github/actions/spelling/patterns.txt vendored Normal file
View File

@ -0,0 +1,6 @@
# uuid:
\b[0-9a-fA-F]{8}-(?:[0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}\b
"\$2a\$10\$[A-Za-z0-9]*(?:\.2tu?|)"
https://github\.com/containous/traefik
# ignore long runs of a single character:
\b([A-Za-z])\1{3,}\b

15
.github/workflows/spelling.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Spell checking
on:
push:
pull_request_target:
jobs:
build:
name: Spell checking
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.0.0
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 5
- uses: check-spelling/check-spelling@0.0.17-alpha