Skip to content

Commit 6e02914

Browse files
vacabunmysterywolf
authored andcommitted
[ci][spell_check]change check path
1 parent 76acc41 commit 6e02914

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/actions/spelling/only.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
^documentation/.*

.github/workflows/spell_check.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,19 @@ name: Check Spelling
33
on:
44
push:
55
branches:
6-
- master
6+
- master
7+
paths:
8+
- 'documentation/**'
79
pull_request:
810
branches:
9-
- master
10-
11+
- master
12+
paths:
13+
- 'documentation/**'
1114
jobs:
1215
spelling:
1316
name: Check Spelling
1417
runs-on: ubuntu-latest
1518
if: github.repository_owner == 'RT-Thread'
16-
permissions:
17-
contents: read
18-
pull-requests: read
19-
actions: read
2019
steps:
2120
- name: output ignore words info
2221
run: |
@@ -34,9 +33,7 @@ jobs:
3433
cspell:software-terms/softwareTerms.txt
3534
cspell:python/python.txt
3635
cspell:cpp/cpp.txt
37-
3836
check_extra_dictionaries: ''
39-
4037
- name: output Success info
4138
run: |
4239
echo "✅ Check spelling success." >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)