Skip to content

Commit

Permalink
Typos config and ci (#523)
Browse files Browse the repository at this point in the history
* typos configuration file
* typos CI
  • Loading branch information
jqnatividad authored Feb 5, 2025
1 parent 2b6172e commit a89800b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/typos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Typos Check
on:
pull_request:
workflow_dispatch:

jobs:
run:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v4

- name: Check spelling
uses: crate-ci/typos@master
with:
config: ./_typos.toml
6 changes: 6 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[default]
extend-ignore-identifiers-re = ["catched", "2nd", "ser"]

[default.extend-words]
thr = "thr"
aas = "aas"

0 comments on commit a89800b

Please sign in to comment.