Skip to content

Commit 7156006

Browse files
committed
[ci] Add spelling checks
1 parent 16190a7 commit 7156006

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/spelling.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Spellcheck PR Diff
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
spellcheck:
10+
name: Spellcheck PR Diff
11+
runs-on: ubuntu-latest
12+
steps:
13+
- 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+
with:
20+
python-version: 3.11
21+
- uses: compiler-research/git-spell-check@master
22+
- name: Setup tmate session
23+
if: ${{ !cancelled() && runner.debug }}
24+
uses: mxschmitt/action-tmate@v3
25+
# When debugging increase to a suitable value!
26+
timeout-minutes: 30

0 commit comments

Comments
 (0)