Skip to content

Commit 893589c

Browse files
committed
try
1 parent d5ffb0b commit 893589c

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
GitHub
2+
Markdown
3+
YAML
4+
PySpelling
5+
CI
6+
CD
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site/
2+
node_modules/
3+
docs/vendor/

.github/workflows/spelling.yml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,20 @@
1-
name: Spellcheck PR Diff
1+
name: Spellcheck
22

33
on:
44
pull_request:
5-
branches:
6-
- master
5+
paths:
6+
- '**.md'
7+
- '**.yaml'
8+
- '**.yml'
79

810
jobs:
911
spellcheck:
10-
name: Spellcheck PR Diff
1112
runs-on: ubuntu-latest
1213
steps:
1314
- 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
1915
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]
2219
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

0 commit comments

Comments
 (0)