File tree Expand file tree Collapse file tree 3 files changed +18
-17
lines changed
actions/spell-check-config Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Original file line number Diff line number Diff line change
1
+ GitHub
2
+ Markdown
3
+ YAML
4
+ PySpelling
5
+ CI
6
+ CD
Original file line number Diff line number Diff line change
1
+ _site/
2
+ node_modules/
3
+ docs/vendor/
Original file line number Diff line number Diff line change 1
- name : Spellcheck PR Diff
1
+ name : Spellcheck
2
2
3
3
on :
4
4
pull_request :
5
- branches :
6
- - master
5
+ paths :
6
+ - ' **.md'
7
+ - ' **.yaml'
8
+ - ' **.yml'
7
9
8
10
jobs :
9
11
spellcheck :
10
- name : Spellcheck PR Diff
11
12
runs-on : ubuntu-latest
12
13
steps :
13
14
- uses : actions/checkout@v4
14
- - name : Install aspell
15
- run : |
16
- sudo apt-get install -y aspell aspell-en
17
- - name : Set up Python
18
- uses : actions/setup-python@v5
19
15
with :
20
- python-version : 3.11
21
- - uses : compiler-research/git-spell-check@master
16
+ fetch-depth : 2 # Required for diff detection
17
+ - name : Run spell checker
18
+ uses :
check-spelling/[email protected]
22
19
with :
23
- debug : 1
24
- - name : Setup tmate session
25
- if : ${{ !cancelled() && runner.debug }}
26
- uses : mxschmitt/action-tmate@v3
27
- # When debugging increase to a suitable value!
28
- timeout-minutes : 30
20
+ config : .github/actions/spell-check-config
You can’t perform that action at this time.
0 commit comments