|
|
|
@@ -0,0 +1,31 @@ |
|
|
|
# Check pull requests for typos. |
|
|
|
# |
|
|
|
# Configuration: .github/_typos.toml |
|
|
|
# |
|
|
|
# Info: https://github.com/marketplace/actions/typos-action |
|
|
|
# Local install: brew install typos-cli |
|
|
|
# Local install: conda install typos |
|
|
|
# Local run: typos -c .github/_typos.toml |
|
|
|
|
|
|
|
name: Spell Check |
|
|
|
|
|
|
|
on: |
|
|
|
push: |
|
|
|
branches: [ "master" ] |
|
|
|
pull_request: |
|
|
|
branches: [ "master" ] |
|
|
|
|
|
|
|
jobs: |
|
|
|
run: |
|
|
|
name: Spell check |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
- name: Check out code |
|
|
|
uses: actions/checkout@v3 |
|
|
|
|
|
|
|
- name: Use custom config file |
|
|
|
uses: crate-ci/typos@master |
|
|
|
with: |
|
|
|
config: .github/_typos.toml |
|
|
|
write_changes: false |
|
|
|
quiet: true |