Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/spelling/allow.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugin
plugins
pluggability
png
lifecycle

2 changes: 2 additions & 0 deletions .github/spelling/check-paths.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.md:comment
*.go
3 changes: 3 additions & 0 deletions .github/spelling/excludes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
go.mod
go.sum
(?:^|/)deploy/
7 changes: 7 additions & 0 deletions .github/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
GitHub
Markdown
golang
API
JSON
ioutil
ctx
1 change: 1 addition & 0 deletions .github/spelling/filters.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
\.go$ -> ^\s*//.* # Only keep comments in Go files
Empty file added .github/spelling/patterns.txt
Empty file.
23 changes: 23 additions & 0 deletions .github/workflows/spellcheck.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# .github/workflows/spellcheck.yml
name: Spell Check PR

on:
pull_request:
paths:
- '**/*.go'
- '**/*.md'
- '.github/spelling/**'

jobs:
check-spelling:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4

- name: Spell Check
uses: check-spelling/check-spelling@v0.0.25
with:
config: .github/spelling
Loading