summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2020-08-11 16:58:25 -0400
committerGitHub <noreply@github.com>2020-08-11 22:58:25 +0200
commita9c1d2174c2862ba6ff869169a4de653fc76c879 (patch)
tree64febc5b03c4d79af9ee4ca854fbc2425b23d418 /.github
parent57e85cad06a628fee331eba63034daac58d4276b (diff)
chore: Add check-spelling/check-spelling (#39)
Diffstat (limited to '.github')
-rw-r--r--.github/actions/spelling/allow.txt191
-rw-r--r--.github/actions/spelling/excludes.txt4
-rw-r--r--.github/actions/spelling/expect.txt1
-rw-r--r--.github/actions/spelling/patterns.txt8
-rw-r--r--.github/workflows/spelling.yml13
5 files changed, 217 insertions, 0 deletions
diff --git a/.github/actions/spelling/allow.txt b/.github/actions/spelling/allow.txt
new file mode 100644
index 0000000..77a91e0
--- /dev/null
+++ b/.github/actions/spelling/allow.txt
@@ -0,0 +1,191 @@
+aic
+anyfield
+api
+apiclient
+apimachinery
+apps
+argocd
+argocdclient
+argoproj
+argoprojlabs
+argproj
+args
+auths
+babayaga
+baralias
+baz
+CDPATH
+Certfile
+certs
+cfg
+CGO
+Changelog
+CHANGELOG
+changelog
+chmod
+CLA
+clientcmd
+clientset
+codecov
+codegen
+codehilite
+config
+coverprofile
+cred
+creds
+css
+Ctx
+deadcode
+Debugf
+dest
+dexidp
+dirname
+dirs
+djangoproject
+dockerconfigjson
+dst
+egrep
+endif
+ENTRYPOINT
+Errorf
+extldflags
+Fatalf
+filepath
+fooalias
+Fprintf
+func
+gcr
+Getenv
+gh
+githash
+github
+goimports
+golang
+golangci
+Google
+gopkg
+goreportcard
+goroutine
+goroutines
+grpc
+guestbook
+healthport
+healthz
+heptio
+hsla
+http
+https
+ifdef
+img
+ineffassign
+Infof
+ioutil
+itl
+jannfis
+json
+ks
+Ksonnet
+kube
+kubeclient
+kubeconfig
+kubectl
+kubefake
+kubernetes
+Kustomization
+kustomize
+LDFLAGS
+len
+linted
+logctx
+Logf
+loglevel
+logrus
+memcache
+metadata
+mkdir
+mkdocs
+mktemp
+mutex
+myalias
+myimg
+mynamespace
+mysecret
+namespace
+Nano
+nginx
+nimage
+nimg
+nokia
+nolint
+omitempty
+otherimg
+otherparam
+othervalue
+parseable
+patrickmn
+pb
+permalink
+pipefail
+png
+prereq
+Printf
+pullsecret
+pwd
+pygments
+rbac
+readthedocs
+refactor
+refactoring
+regexp
+RLock
+roadmap
+RUnlock
+semver
+serviceaccount
+Setenv
+SHAs
+sirupsen
+someparam
+somevalue
+spf
+Sprintf
+src
+SRCROOT
+stderr
+stdout
+stretchr
+structcheck
+svg
+svi
+svl
+taglist
+TEMPFILE
+testdata
+tl
+TLS
+tmp
+toc
+TODO
+toolchain
+Torvalds
+Tracef
+unmarshal
+unparam
+updateable
+url
+Useragent
+username
+usr
+varcheck
+versioning
+Warnf
+webkit
+webroot
+WORKDIR
+workflows
+www
+yaml
+yourimage
+yourorg
+yourtoken
+yourtool
diff --git a/.github/actions/spelling/excludes.txt b/.github/actions/spelling/excludes.txt
new file mode 100644
index 0000000..ae2d5ae
--- /dev/null
+++ b/.github/actions/spelling/excludes.txt
@@ -0,0 +1,4 @@
+^\.github/
+^go\.(?:sum|mod)$
+ignore$
+\.png$
diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt
new file mode 100644
index 0000000..1784f61
--- /dev/null
+++ b/.github/actions/spelling/expect.txt
@@ -0,0 +1 @@
+wohoo
diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt
new file mode 100644
index 0000000..eaed3d9
--- /dev/null
+++ b/.github/actions/spelling/patterns.txt
@@ -0,0 +1,8 @@
+#
+certificate-authority-data: [0-9a-zA-Z=]+
+#
+"(?:auth|namespace)": "[0-9a-zA-Z=]+"
+# <word>v1
+v1(?:\b|(?=[a-z]))
+# ignore long runs of a single character:
+(?:\b|(?<=\W))([A-Za-z])\1{3,}(?:\b|(?!\w))
diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml
new file mode 100644
index 0000000..db74f45
--- /dev/null
+++ b/.github/workflows/spelling.yml
@@ -0,0 +1,13 @@
+name: Spell checking
+on:
+ push:
+
+jobs:
+ build:
+ name: Spell checking
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2.0.0
+ with:
+ fetch-depth: 5
+ - uses: check-spelling/check-spelling@prerelease