Skip to content

Commit

Permalink
ci(typos): enable check filename
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 committed Apr 16, 2024
1 parent dd05f06 commit 94a776c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 21 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/pr-spelling.template.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: pr-spell-check
on: [pull_request]

jobs:
run:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check spelling
uses: crate-ci/typos@master
with:
config: .github/workflows/typos-config.toml
name: pr-spell-check
on: [pull_request]

jobs:
run:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check spelling
uses: crate-ci/typos@master
with:
config: .github/workflows/typos-config.toml
11 changes: 3 additions & 8 deletions .github/workflows/typos-config.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
default.check-filename = true

[default.extend-words]
actived = "actived"
formated = "formated"
formate = "formate"
Colum = "Colum"
ans = "ans"
ba = "ba"
ded = "ded"
Hel = "Hel"
Successivo = "Successivo"
colum = "colum"

[files]
extend-exclude = ["CHANGELOG.md", "*.snap"]

0 comments on commit 94a776c

Please sign in to comment.