Skip to content

Commit

Permalink
Merge pull request #478 from jsoref/spell-check
Browse files Browse the repository at this point in the history
Set up spell-checking action
  • Loading branch information
oetiker authored Mar 23, 2020
2 parents df62921 + 7ed0135 commit 0f42172
Show file tree
Hide file tree
Showing 3 changed files with 828 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Spell checking
on:
push:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '15 * * * *'

jobs:
build:
name: Spell checking
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: check-spelling/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
bucket: .github/workflows/
project: spelling
53 changes: 53 additions & 0 deletions .github/workflows/spelling/excludes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
(?:^|/)go\.mod$
(?:^|/)go\.sum$
(?:^|/)package-lock\.json$
SUMS$
\.ai$
\.bmp$
\.cer$
\.class$
\.crl$
\.crt$
\.csr$
\.dll$
\.DS_Store$
\.eot$
\.eps$
\.exe$
\.gif$
\.graffle$
\.gz$
\.icns$
\.ico$
\.jar$
\.jpeg$
\.jpg$
\.key$
\.lib$
\.lock$
\.map$
\.min\..
\.mp3$
\.mp4$
\.otf$
\.pdf$
\.pem$
\.png$
\.psd$
\.sig$
\.so$
\.svg$
\.svgz$
\.tar$
\.tgz$
\.ttf$
\.woff
\.xcf$
\.xls
\.xpm$
\.yml$
\.zip$
^CHANGES$
^excludes\.txt$
^whitelist\.txt$
^\.github/workflows/spelling/
Loading

0 comments on commit 0f42172

Please sign in to comment.