-
Notifications
You must be signed in to change notification settings - Fork 267
44 lines (41 loc) · 1.07 KB
/
spellcheck.yml
File metadata and controls
44 lines (41 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# name: Typo CI
# on:
# pull_request:
# branches: [ main, master ]
# paths:
# - 'categories/**/*.md'
# - 'pages/**/*.md'
# jobs:
# spellcheck:
# name: Typo CI (GitHub Action)
# runs-on: ubuntu-latest
# timeout-minutes: 4
# if: "!contains(github.event.head_commit.message, '[ci skip]')"
# steps:
# - name: TypoCheck
# uses: typoci/spellcheck-action@master
# # with:
# # A license can be purchased via:
# # https://gumroad.com/l/MvvBE
# # typo_ci_license_key: ${{ secrets.TYPO_CI_LICENSE_KEY }}
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: 'Check spelling with cSpell'
on:
pull_request:
branches: [ main, master ]
paths:
- 'categories/**/*.md'
- 'pages/**/*.md'
jobs:
spellcheck: # run the action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
persist-credentials: false
- uses: streetsidesoftware/cspell-action@v8
with:
strict: true
suggestions: true
report: typos