Skip to content

Commit 21f0467

Browse files
authored
Revert "ci: remove spell_check"
This reverts commit 4edfa48.
1 parent 4edfa48 commit 21f0467

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/spell_check.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Check Spelling
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
paths:
8+
- 'documentation/**'
9+
jobs:
10+
spelling:
11+
name: Check Spelling
12+
runs-on: ubuntu-22.04
13+
if: github.repository_owner == 'RT-Thread'
14+
steps:
15+
- name: output ignore words info
16+
run: |
17+
echo "> If any words shown as incorrect are spelled correctly, please add them to .github/actions/spelling/allow.txt." >> $GITHUB_STEP_SUMMARY
18+
- name: check spelling
19+
id: spelling
20+
uses: check-spelling/[email protected]
21+
with:
22+
checkout: true
23+
check_file_names: 0
24+
only_check_changed_files: 1
25+
post_comment: 0
26+
extra_dictionaries:
27+
cspell:en_US/src/en_US.txt
28+
cspell:software-terms/softwareTerms.txt
29+
cspell:python/python.txt
30+
cspell:cpp/cpp.txt
31+
check_extra_dictionaries: ''
32+
- name: output Success info
33+
run: |
34+
echo "✅ Check spelling success." >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)