Skip to content

Commit

Permalink
Add a spellchecker
Browse files Browse the repository at this point in the history
  • Loading branch information
villfa committed Nov 30, 2021
1 parent 2bd69c5 commit 4c1c2fa
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/.typo-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
dictionaries:
- fr

excluded_files:
- ".github/**/*"

spellcheck_filenames: false
22 changes: 22 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# https://github.com/TypoCI/spellcheck-action
name: Typo CI

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
spellcheck:
name: Typo CI (GitHub Action)
runs-on: ubuntu-latest
timeout-minutes: 4
if: "! contains(toJSON(github.event.commits.*.message), '[skip-spellcheck]')"
steps:
- name: TypoCheck
uses: typoci/spellcheck-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4c1c2fa

Please sign in to comment.