Skip to content

Commit d4eb9d5

Browse files
committed
fix(ci): workflow update a
1 parent e4146dc commit d4eb9d5

File tree

2 files changed

+17
-32
lines changed

2 files changed

+17
-32
lines changed

.github/config/typos.toml

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,11 @@
1-
[default.extend-words]
2-
# Custom ignored words
3-
WNat = "WNat"
4-
WNAT = "WNAT"
5-
wNat = "wNat"
6-
bU = "bU"
7-
whats = "whats"
8-
requestor = "requestor"
9-
devlop = "devlop"
10-
crate = "crate"
11-
ba = "ba"
12-
mis = "mis"
13-
14-
[files]
15-
# File patterns to exclude
16-
extend-exclude = [
17-
"*.svg",
18-
"*.png",
19-
"*.jpg",
20-
"*.woff",
21-
"*.woff2",
22-
"*.pdf",
23-
"package-lock.json"
24-
]
25-
261
[default]
27-
binary = false
28-
check-filename = true
29-
unicode = true
2+
extend-words = [
3+
"WNat",
4+
"requestor",
5+
"devlop",
6+
"bU",
7+
"whats",
8+
"WNAT",
9+
"wNat",
10+
"crate"
11+
]

.github/workflows/spell-check.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: Spell Check
2+
23
on:
34
pull_request:
45
paths:
@@ -13,7 +14,7 @@ on:
1314
- "**/*.html"
1415
- "**/*.rst"
1516
- "**/*.go"
16-
- "!**/*.svg"
17+
- "!**/*.svg" # Exclude svg files from triggering the workflow
1718
- "!**/*.sol"
1819
- "!**/*.sum"
1920
- "!**/*.mod"
@@ -26,11 +27,13 @@ jobs:
2627
spell-check:
2728
if: github.event.pull_request.changed_files > 0
2829
runs-on: ubuntu-latest
30+
2931
steps:
30-
- name: Checkout code
32+
- name: Checkout Repository
3133
uses: actions/checkout@v4
3234

33-
- name: Run Spell Check
35+
- name: Run Spell Check with Typos
3436
uses: crate-ci/typos@v1.29.4
3537
with:
36-
config: ./.github/config/typos.toml
38+
files: .
39+
config: .github/config/typos.toml

0 commit comments

Comments
 (0)