mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-18 18:39:11 +08:00
[ci][spell_check]change check path
This commit is contained in:
parent
76acc4146b
commit
6e02914c2b
1
.github/actions/spelling/only.txt
vendored
Normal file
1
.github/actions/spelling/only.txt
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
^documentation/.*
|
15
.github/workflows/spell_check.yml
vendored
15
.github/workflows/spell_check.yml
vendored
@ -3,20 +3,19 @@ name: Check Spelling
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths:
|
||||||
|
- 'documentation/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths:
|
||||||
|
- 'documentation/**'
|
||||||
jobs:
|
jobs:
|
||||||
spelling:
|
spelling:
|
||||||
name: Check Spelling
|
name: Check Spelling
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository_owner == 'RT-Thread'
|
if: github.repository_owner == 'RT-Thread'
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pull-requests: read
|
|
||||||
actions: read
|
|
||||||
steps:
|
steps:
|
||||||
- name: output ignore words info
|
- name: output ignore words info
|
||||||
run: |
|
run: |
|
||||||
@ -34,9 +33,7 @@ jobs:
|
|||||||
cspell:software-terms/softwareTerms.txt
|
cspell:software-terms/softwareTerms.txt
|
||||||
cspell:python/python.txt
|
cspell:python/python.txt
|
||||||
cspell:cpp/cpp.txt
|
cspell:cpp/cpp.txt
|
||||||
|
|
||||||
check_extra_dictionaries: ''
|
check_extra_dictionaries: ''
|
||||||
|
|
||||||
- name: output Success info
|
- name: output Success info
|
||||||
run: |
|
run: |
|
||||||
echo "✅ Check spelling success." >> $GITHUB_STEP_SUMMARY
|
echo "✅ Check spelling success." >> $GITHUB_STEP_SUMMARY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user