We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76a369a commit b7ee942Copy full SHA for b7ee942
2 files changed
.github/workflows/pr-spell-check.yml
@@ -3,5 +3,7 @@ on:
3
- pull_request
4
5
jobs:
6
- check:
7
- uses: TDesignOteam/workflows/.github/workflows/spell-check.yml@main
+ call-check:
+ uses: TDesignOteam/workflows/.github/workflows/reusable-spell-check.yml@main
8
+ with:
9
+ config: .github/workflows/typos-config.toml
.github/workflows/reusable-spell-check.yml
@@ -0,0 +1,20 @@
1
+name: spell-check
2
+on:
+ workflow_call:
+ inputs:
+ config:
+ required: false
+ type: string
+ default: ''
+
10
+jobs:
11
+ check:
12
+ name: Typos
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v6.0.2
16
17
+ - name: Check spelling
18
+ uses: crate-ci/typos@v1.46.1
19
20
+ config: ${{ inputs.config }}
0 commit comments