Skip to content

Commit 5bca523

Browse files
authored
Add a spellchecker
1 parent de45aac commit 5bca523

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/.typo-ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
dictionaries:
2+
- fr
3+
4+
excluded_files:
5+
- ".github/**/*"
6+
7+
spellcheck_filenames: false

.github/workflows/spellcheck.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# https://github.com/TypoCI/spellcheck-action
2+
name: Typo CI
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
11+
12+
jobs:
13+
spellcheck:
14+
name: Typo CI (GitHub Action)
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 4
17+
if: "! contains(toJSON(github.event.commits.*.message), '[skip-spellcheck]')"
18+
steps:
19+
- name: TypoCheck
20+
uses: typoci/spellcheck-action@master
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)