File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # adapted from https://github.com/JuliaDocs/Documenter.jl/blob/master/.github/workflows/SpellCheck.yml
2+ # see docs at https://github.com/crate-ci/typos
3+ name : Spell Check
4+ on : [pull_request]
5+
6+ jobs :
7+ typos-check :
8+ name : Spell Check with Typos
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout Actions Repository
12+ uses : actions/checkout@v4
13+ - name : Check spelling
14+ uses : crate-ci/typos@master
15+ # don't fail on typos in files not impacted by this PR
16+ continue-on-error : true
17+ with :
18+ config : _typos.toml
19+ write_changes : true
20+ - uses : reviewdog/action-suggester@v1
21+ with :
22+ tool_name : Typos
23+ fail_on_error : true
Original file line number Diff line number Diff line change 1+ # https://github.com/crate-ci/typos#false-positives
2+ [default ]
3+
4+ [default .extend-identifiers ]
5+ Lik = " Lik"
6+ missings = " missings"
7+
8+ [default .extend-words ]
9+ Lik = " Lik"
10+ missings = " missings"
11+
12+ [type .package_toml ]
13+ # Don't check spellings in these files
14+ extend-glob = [" Manifest.toml" , " Project.toml" ]
15+ check-file = false
16+
17+ [type .bib ]
18+ # contain lots of names, which are a great spot for false positives
19+ extend-glob = [" *.bib" ]
20+ check-file = false
You can’t perform that action at this time.
0 commit comments