32 lines
719 B
YAML
32 lines
719 B
YAML
# 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:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches: ["main", "feature*"]
|
|
|
|
jobs:
|
|
run:
|
|
name: Spell Check with Typos
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v5
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Use custom config file
|
|
uses: crate-ci/typos@v1.36.2
|
|
with:
|
|
config: .github/_typos.toml
|
|
write_changes: false
|