From 04262a0c16aa60e26a11bfc40468791113f76642 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Mon, 15 Feb 2021 12:48:52 -0500 Subject: [PATCH] Add check-spelling/check-spelling Signed-off-by: Josh Soref --- .github/actions/spelling/excludes.txt | 8 ++ .github/actions/spelling/expect.txt | 124 ++++++++++++++++++++++++++ .github/actions/spelling/patterns.txt | 2 + .github/workflows/spelling.yml | 16 ++++ 4 files changed, 150 insertions(+) create mode 100644 .github/actions/spelling/excludes.txt create mode 100644 .github/actions/spelling/expect.txt create mode 100644 .github/actions/spelling/patterns.txt create mode 100644 .github/workflows/spelling.yml diff --git a/.github/actions/spelling/excludes.txt b/.github/actions/spelling/excludes.txt new file mode 100644 index 00000000..2f6107f2 --- /dev/null +++ b/.github/actions/spelling/excludes.txt @@ -0,0 +1,8 @@ +ignore$ +(?:^|/)(?i)COPYRIGHT +(?:^|/)(?i)LICEN[CS]E +(?:^|/)vendor/ +/git/ +^\.github/ +\.lock$ +\.pack$ diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt new file mode 100644 index 00000000..86b8dfd0 --- /dev/null +++ b/.github/actions/spelling/expect.txt @@ -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 diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt new file mode 100644 index 00000000..c16adb01 --- /dev/null +++ b/.github/actions/spelling/patterns.txt @@ -0,0 +1,2 @@ +# ignore long runs of a single character: +\b([A-Za-z])\g{-1}{3,}\b diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml new file mode 100644 index 00000000..8ebdbc3b --- /dev/null +++ b/.github/workflows/spelling.yml @@ -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/checkout@v2.0.0 + with: + fetch-depth: 0 + - uses: check-spelling/check-spelling@0.0.17-alpha