Skip to content

Commit ede92bd

Browse files
committed
[c] Add typos workflow
1 parent b15c99c commit ede92bd

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/typos.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[default.extend-words]
2+
Symplify = "Symplify"
3+
4+
# doctrine behavior
5+
Deleteable = "Deleteable"
6+
7+
# fixing typo in code
8+
"Fullfilled" = "Fullfilled"
9+

.github/workflows/typos.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# see https://github.com/crate-ci/typos
2+
name: "Typos"
3+
4+
on:
5+
pull_request:
6+
push:
7+
branches:
8+
- "main"
9+
10+
jobs:
11+
typos:
12+
name: "Check for typos"
13+
runs-on: "ubuntu-latest"
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
19+
20+
- name: "Check for typos"
21+
uses: "crate-ci/typos@v1.40.0"
22+
with:
23+
config: .github/typos.toml
24+
files: "README.md src config rules tests rules-tests"

0 commit comments

Comments
 (0)